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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
PCH
/
method-redecls.m
blob
9d02b6a8af578cc1892604c6139b076cf65dca94
1
// RUN: %clang_cc1 -x objective-c %s -emit-pch -o %t
2
// RUN: %clang_cc1 -x objective-c %s -emit-pch -o %t -D IMPL
3
4
// Avoid infinite loop because of method redeclarations.
5
6
@interface Foo
7
-(void)meth;
8
-(void)meth;
9
-(void)meth;
10
@end
11
12
#ifdef IMPL
13
14
@implementation Foo
15
-(void)meth { }
16
@end
17
18
#endif