1 | @import redeclarations_left; |
2 | @import weird_objc; |
3 | |
4 | int test(id x) { |
5 | return x->wibble; |
6 | } |
7 | |
8 | // RUN: rm -rf %t |
9 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map |
10 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map |
11 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify |
12 | // expected-no-diagnostics |
13 | |
14 | |