Douglas Gregor | a1be278 | 2011-12-17 23:38:30 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodule-cache-path %t -I %S/Inputs %s -verify | ||||
3 | __import_module__ redecl_merge_left; | ||||
4 | __import_module__ redecl_merge_right; | ||||
5 | |||||
6 | @implementation A | ||||
7 | - (Super*)init { return self; } | ||||
8 | @end | ||||
9 | |||||
10 | void f(A *a) { | ||||
11 | [a init]; | ||||
12 | } | ||||
13 | |||||
14 | @class A; | ||||
15 | |||||
16 | __import_module__ redecl_merge_bottom; | ||||
17 | |||||
18 | void g(A *a) { | ||||
19 | [a init]; | ||||
20 | } |