22 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s2@interface A {3 struct X {4 int x, y;5 } X;6}7@end8 9static const uint32_t Count = 16; // expected-error {{unknown type name 'uint32_t'}}10 11struct S0 {12 S0();13};14 15@interface C016@end17 18@implementation C0 {19 S0 ivar0[Count];20}21@end22