blob: 40c6aaf0fffa49a2fbef6f9b5fb0932d8d430637 [file] [log] [blame]
Douglas Gregora1be2782011-12-17 23:38:30 +00001// 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
10void f(A *a) {
11 [a init];
12}
13
14@class A;
15
16__import_module__ redecl_merge_bottom;
17
18void g(A *a) {
19 [a init];
20}