diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:07:04 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:07:04 +0000 |
commit | c1e4dd0e8e6ec8b638bc87ee6dd55f114a4d0e2f (patch) | |
tree | 3ef4165164d5e48da3a9dee129d627e6e44f1889 /clang/test/Modules/load_failure.c | |
parent | 8dc53af5dcbbcbb00faf3ed3cc3e62c982007144 (diff) | |
download | bcm5719-llvm-c1e4dd0e8e6ec8b638bc87ee6dd55f114a4d0e2f.tar.gz bcm5719-llvm-c1e4dd0e8e6ec8b638bc87ee6dd55f114a4d0e2f.zip |
Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules,
and don't have time to push it forward in the near future.
llvm-svn: 151841
Diffstat (limited to 'clang/test/Modules/load_failure.c')
-rw-r--r-- | clang/test/Modules/load_failure.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Modules/load_failure.c b/clang/test/Modules/load_failure.c index bc0b4263159..3a963012b19 100644 --- a/clang/test/Modules/load_failure.c +++ b/clang/test/Modules/load_failure.c @@ -1,15 +1,15 @@ #ifdef NONEXISTENT -@import load_nonexistent; +@__experimental_modules_import load_nonexistent; #endif #ifdef FAILURE -@import load_failure; +@__experimental_modules_import load_failure; #endif // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -x objective-c++ -fmodule-cache-path %t -fdisable-module-hash -emit-module -fmodule-name=load_failure %S/Inputs/module.map // RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -fdisable-module-hash %s -DNONEXISTENT 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTENT %s -// CHECK-NONEXISTENT: load_failure.c:2:9: fatal error: module 'load_nonexistent' not found +// CHECK-NONEXISTENT: load_failure.c:2:32: fatal error: module 'load_nonexistent' not found // RUN: not %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -fdisable-module-hash %s -DFAILURE 2> %t.out // RUN: FileCheck -check-prefix=CHECK-FAILURE %s < %t.out |