Manman Ren | 11f2a47 | 2016-08-18 17:42:15 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
| 2 | // |
NAKAMURA Takumi | cc980fc | 2016-08-19 05:25:26 +0000 | [diff] [blame] | 3 | // 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 |
Manman Ren | 11f2a47 | 2016-08-18 17:42:15 +0000 | [diff] [blame] | 4 | // RUN: %clang_cc1 -fmodules -fprebuilt-module-path=%t/ -fdisable-module-hash %s -verify |
| 5 | |
| 6 | // expected-no-diagnostics |
| 7 | @import prebuilt; |
| 8 | int test() { |
| 9 | return a; |
| 10 | } |