blob: f5e4eb8ee4457e9a1526a5b3e960baed73a8f1ae [file] [log] [blame]
Douglas Gregor05f10352011-12-17 23:38:30 +00001__import_module__ redecl_merge_top;
2
3@interface Super
4@end
5
6@interface A : Super
7- (Super*)init;
8@end
9
Douglas Gregor9f562c82011-12-19 15:27:36 +000010@class B;
11
Douglas Gregor022857e2011-12-22 01:48:48 +000012// Test declarations in different modules with no common initial
13// declaration.
14@class C;
15C *get_a_C(void);
16@class C2;
17C2 *get_a_C2(void);
18@class C3;
19C3 *get_a_C3(void);
20
Douglas Gregor21823bf2011-12-20 18:11:52 +000021@class Explicit;
22
23int *explicit_func(void);
24
25struct explicit_struct;
26
Douglas Gregor074a4092011-12-19 18:19:24 +000027#ifdef __cplusplus
28template<typename T> class Vector {
29public:
30 void push_back(const T&);
31};
32#endif
Douglas Gregor0abc2622011-12-20 22:06:13 +000033
34int ONE;
35__import_module__ redecl_merge_top.Explicit;
36const int one = ONE;