|
@@ -1,9 +1,9 @@
|
|
// RUN: rm -rf %t
|
|
// RUN: rm -rf %t
|
|
// RUN: mkdir %t
|
|
// RUN: mkdir %t
|
|
// RUN: echo 'module foo { module a {} module b {} } module bar {} module if {}' > %t/module.map
|
|
// RUN: echo 'module foo { module a {} module b {} } module bar {} module if {}' > %t/module.map
|
|
-// RUN: %clang -cc1 -fmodules -fmodule-name=if -x c %t/module.map -emit-module -o %t/if.pcm
|
|
|
|
-// RUN: %clang -cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map
|
|
|
|
-// RUN: %clang -cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map -fmodules-local-submodule-visibility -DLOCAL_VIS
|
|
|
|
|
|
+// RUN: %clang_cc1 -fmodules -fmodule-name=if -x c %t/module.map -emit-module -o %t/if.pcm
|
|
|
|
+// RUN: %clang_cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map
|
|
|
|
+// RUN: %clang_cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map -fmodules-local-submodule-visibility -DLOCAL_VIS
|
|
|
|
|
|
// Just checking the syntax here; the semantics are tested elsewhere.
|
|
// Just checking the syntax here; the semantics are tested elsewhere.
|
|
#pragma clang module import // expected-error {{expected module name}}
|
|
#pragma clang module import // expected-error {{expected module name}}
|