1 /* { dg-do compile } */
4 #if defined(__has_attribute) && __has_attribute(objc_root_class)
5 __attribute__((objc_root_class))
15 volatile int a; /* This is allowed */
16 extern int b; /* { dg-error "expected" } */
17 static int c; /* { dg-error "expected" } */
18 inline int d; /* { dg-error "expected" } */
19 typedef int e; /* { dg-error "expected" } */
20 __thread int f; /* { dg-error "expected" } */