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
/
CodeGenObjC
/
forward-decl-param.m
blob
5a5e83f5f085efe64cbd0023cb32a82f0fa37f4f
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
// crash due to forward-declared struct in protocol method parameter.
4
5
@protocol P
6
- (void) A:(struct z) z;
7
@end
8
@interface I < P >
9
@end
10
@implementation I
11
@end
12
13
@interface I2
14
- (void) A:(struct z2) z2;
15
@end
16
@implementation I2
17
@end
18