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/AMDGPU] Zero sized arrays not allowed in HIP device code. (#113470)
[llvm-project.git]
/
clang
/
test
/
Import
/
objc-definitions-in-expression
/
test.m
blob
a1eab13ecca658bf83124b2595c566d971b6551d
1
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
2
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
3
@class D;
4
5
@interface B {
6
int x;
7
int y;
8
}
9
@end
10
11
@interface D : B {
12
int z;
13
}
14
-(int)n;
15
@end
16
17
void expr() {
18
C *c;
19
int i = [c m];
20
D *d;
21
int j = [d n] + d->x;
22
}