bolt/deps/llvm-18.1.8/clang/test/SemaObjCXX/ivar-struct.mm
2025-02-14 19:21:04 +01:00

21 lines
299 B
Text

// RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s
@interface A {
struct X {
int x, y;
} X;
}
@end
static const uint32_t Count = 16; // expected-error {{unknown type name 'uint32_t'}}
struct S0 {
S0();
};
@interface C0
@end
@implementation C0 {
S0 ivar0[Count];
}
@end