summaryrefslogtreecommitdiffstats
path: root/test/PCH/method-redecls.m
blob: 14ce3acdfd2228d77427bf7ef6b54371044f56c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -x objective-c -emit-pch -o %t

// Avoid infinite loop because of method redeclarations.

@interface Foo
-(void)meth;
-(void)meth;
-(void)meth;
@end

@implementation Foo
-(void)meth { }
@end