forked from OSchip/llvm-project
11 lines
382 B
Objective-C
11 lines
382 B
Objective-C
// RUN: rm -rf %t
|
|
//
|
|
// RUN: %clang_cc1 -fmodules -x objective-c -I %S/Inputs/prebuilt-module -triple %itanium_abi_triple -emit-module %S/Inputs/prebuilt-module/module.modulemap -fmodule-name=prebuilt -o %t/prebuilt.pcm
|
|
// RUN: %clang_cc1 -fmodules -fprebuilt-module-path=%t/ -fdisable-module-hash %s -verify
|
|
|
|
// expected-no-diagnostics
|
|
@import prebuilt;
|
|
int test() {
|
|
return a;
|
|
}
|