Douglas Gregor | 05f1035 | 2011-12-17 23:38:30 +0000 | [diff] [blame] | 1 | __import_module__ redecl_merge_top; |
| 2 | |
| 3 | @interface Super |
| 4 | @end |
| 5 | |
| 6 | @interface A : Super |
| 7 | - (Super*)init; |
| 8 | @end |
| 9 | |
Douglas Gregor | 9f562c8 | 2011-12-19 15:27:36 +0000 | [diff] [blame] | 10 | @class B; |
| 11 | |
Douglas Gregor | 21823bf | 2011-12-20 18:11:52 +0000 | [diff] [blame] | 12 | @class Explicit; |
| 13 | |
| 14 | int *explicit_func(void); |
| 15 | |
| 16 | struct explicit_struct; |
| 17 | |
Douglas Gregor | 074a409 | 2011-12-19 18:19:24 +0000 | [diff] [blame] | 18 | #ifdef __cplusplus |
| 19 | template<typename T> class Vector { |
| 20 | public: |
| 21 | void push_back(const T&); |
| 22 | }; |
| 23 | #endif |
Douglas Gregor | 0abc262 | 2011-12-20 22:06:13 +0000 | [diff] [blame] | 24 | |
| 25 | int ONE; |
| 26 | __import_module__ redecl_merge_top.Explicit; |
| 27 | const int one = ONE; |