1 /* Check @defs() in Objective-C++ */
2 /* Contributed by Devang Patel <dpatel@apple.com> */
3 /* { dg-options "" } */
5 /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
6 #include "../objc-obj-c++-shared/Object1.h"
10 extern "C" void abort(void);
36 struct A_defs *a_defs = (struct A_defs *)a;
38 if (a->a != a_defs->a)
43 #include "../objc-obj-c++-shared/Object1-implementation.h"