diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-15 00:34:15 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-15 00:34:15 +0000 |
| commit | 3938f0c728b483fdb1123e7e756c81816d653892 (patch) | |
| tree | d628638a6f5ff6f1fb46fd92124ca56b0099b9d7 /clang/test/Modules | |
| parent | 297ae311cebbf250590e70749a5021174cd41545 (diff) | |
| download | bcm5719-llvm-3938f0c728b483fdb1123e7e756c81816d653892.tar.gz bcm5719-llvm-3938f0c728b483fdb1123e7e756c81816d653892.zip | |
[modules] Stop dropping 'module.timestamp' files into the current directory
when building with implicit modules disabled.
llvm-svn: 245136
Diffstat (limited to 'clang/test/Modules')
| -rw-r--r-- | clang/test/Modules/explicit-build-extra-files.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/Modules/explicit-build-extra-files.cpp b/clang/test/Modules/explicit-build-extra-files.cpp new file mode 100644 index 00000000000..6cec420832d --- /dev/null +++ b/clang/test/Modules/explicit-build-extra-files.cpp @@ -0,0 +1,14 @@ +// REQUIRES: shell +// +// RUN: rm -rf %t +// RUN: mkdir %t +// RUN: cd %t +// RUN: echo 'module X {}' > %t/x +// RUN: echo 'module Y {}' > %t/y +// +// RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=X %t/x -x c++ -o %t/x.pcm +// RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=Y %t/y -x c++ -o %t/y.pcm +// RUN: %clang_cc1 -fmodules -fmodule-file=%t/x.pcm -fmodule-file=%t/y.pcm -x c++ /dev/null -fsyntax-only +// +// RUN: not test -f %t/modules.timestamp +// RUN: not test -f %t/modules.idx |

