forked from OSchip/llvm-project
11 lines
358 B
Objective-C
11 lines
358 B
Objective-C
// RUN: rm -rf %t
|
|
//
|
|
// RUN: %clang_cc1 -fmodules -x objective-c -I %S/Inputs/prebuilt-module -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(void) {
|
|
return a;
|
|
}
|