blob: b0e5fa4b467f6a3b0a4f6926338e1c079083ed18 [file] [log] [blame]
/* APPLE LOCAL file radar 4697411 */
/* Test if addition of 'volatile' to object causes bogus error in presence of try-catch. */
/* { dg-do compile } */
struct CGRect {
int size;
};
static void foo(const int&)
{
CGRect r = {0};
@try {
}
@catch (id localException) {
}
foo(r.size);
}