forked from OSchip/llvm-project
21 lines
326 B
Mathematica
21 lines
326 B
Mathematica
|
// RUN: rm -rf %t
|
||
|
// RUN: %clang_cc1 -fmodule-cache-path %t -I %S/Inputs %s -verify
|
||
|
__import_module__ redecl_merge_left;
|
||
|
__import_module__ redecl_merge_right;
|
||
|
|
||
|
@implementation A
|
||
|
- (Super*)init { return self; }
|
||
|
@end
|
||
|
|
||
|
void f(A *a) {
|
||
|
[a init];
|
||
|
}
|
||
|
|
||
|
@class A;
|
||
|
|
||
|
__import_module__ redecl_merge_bottom;
|
||
|
|
||
|
void g(A *a) {
|
||
|
[a init];
|
||
|
}
|