diff options
Diffstat (limited to 'test/Modules/load_failure.c')
-rw-r--r-- | test/Modules/load_failure.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Modules/load_failure.c b/test/Modules/load_failure.c index 5b5df38efe..b1f3e0fe79 100644 --- a/test/Modules/load_failure.c +++ b/test/Modules/load_failure.c @@ -1,14 +1,14 @@ #ifdef NONEXISTENT -__import__ load_nonexistent; +__import_module__ load_nonexistent; #endif #ifdef FAILURE -__import__ load_failure; +__import_module__ load_failure; #endif // RUN: %clang_cc1 -x c++ -emit-module -o %T/load_failure.pcm %S/Inputs/load_failure.h // RUN: %clang_cc1 -I %T %s -DNONEXISTENT 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTENT %s -// CHECK-NONEXISTENT: load_failure.c:2:12: fatal error: module 'load_nonexistent' not found +// CHECK-NONEXISTENT: load_failure.c:2:19: fatal error: module 'load_nonexistent' not found // RUN: %clang_cc1 -I %T %s -DFAILURE 2>&1 | FileCheck -check-prefix=CHECK-FAILURE %s // FIXME: Clean up diagnostic text below and give it a location |