summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/redecl-merge-left.h
blob: 4ea1e70e8e64eab780cac8f51c2de71212d0993e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
__import_module__ redecl_merge_top;

@class A;

@class A;

@interface B
+ (B*) create_a_B;
@end

@class A;

@protocol P1;
@protocol P2
- (void)protoMethod2;
@end

// Test declarations in different modules with no common initial
// declaration.
@class C;
void accept_a_C(C*);

@class C2;
void accept_a_C2(C2*);

@class C3;
void accept_a_C3(C3*);
@class C3;

@class C4;

@class Explicit;

int *explicit_func(void);

struct explicit_struct;

@protocol P3, P4;

@protocol P3;

#ifdef __cplusplus
template<typename T> class Vector;

template<typename T> class Vector;
#endif
OpenPOWER on IntegriCloud