diff options
Diffstat (limited to 'test/Modules/lookup.cpp')
-rw-r--r-- | test/Modules/lookup.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Modules/lookup.cpp b/test/Modules/lookup.cpp index d3245f2935..30177dc73c 100644 --- a/test/Modules/lookup.cpp +++ b/test/Modules/lookup.cpp @@ -14,10 +14,11 @@ void test(int i, float f) { ::f0(&f); } -// RUN: %clang_cc1 -emit-module -x c++ -verify -o %T/lookup_left_cxx.pcm %S/Inputs/lookup_left.hpp -// RUN: %clang_cc1 -emit-module -x c++ -o %T/lookup_right_cxx.pcm %S/Inputs/lookup_right.hpp -// RUN: %clang_cc1 -x c++ -fmodule-cache-path %T -fdisable-module-hash %s -verify -// RUN: %clang_cc1 -ast-print -x c++ -fmodule-cache-path %T -fdisable-module-hash %s | FileCheck -check-prefix=CHECK-PRINT %s +// RUN: rm -rf %t +// RUN: %clang_cc1 -emit-module-from-map -fmodule-cache-path %t -fmodule-name=lookup_left_cxx -x c++ %S/Inputs/module.map -verify +// RUN: %clang_cc1 -emit-module-from-map -fmodule-cache-path %t -fmodule-name=lookup_right_cxx -x c++ %S/Inputs/module.map -verify +// RUN: %clang_cc1 -x c++ -fmodule-cache-path %t %s -verify +// RUN: %clang_cc1 -ast-print -x c++ -fmodule-cache-path %t %s | FileCheck -check-prefix=CHECK-PRINT %s // CHECK-PRINT: int *f0(int *); // CHECK-PRINT: float *f0(float *); |