repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
ivar-struct.mm
blob
4a039a98abea6c134b1ee0f23842966e1e84dd9a
1
// RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s
2
@interface A {
3
struct X {
4
int x, y;
5
} X;
6
}
7
@end
8
9
static const uint32_t Count = 16; // expected-error {{unknown type name 'uint32_t'}}
10
11
struct S0 {
12
S0();
13
};
14
15
@interface C0
16
@end
17
18
@implementation C0 {
19
S0 ivar0[Count];
20
}
21
@end