blob: 9234d96d7996adaeb58203e31a79af6ebc3dc822 [file] [log] [blame]
/* APPLE LOCAL begin radar 4281748 */
/* Test for class name same as an unrelated struct field name. */
/* { dg-do compile } */
__attribute__((objc_root_class)) @interface PassThrough {
}
@end
struct S {
int (*PassThrough)();
};
int main()
{
PassThrough* pt;
struct S s;
s.PassThrough();
}
/* APPLE LOCAL end radar 4281748 */