Richard Smith | 3938f0c | 2015-08-15 00:34:15 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
| 2 | // RUN: mkdir %t |
| 3 | // RUN: cd %t |
| 4 | // RUN: echo 'module X {}' > %t/x |
| 5 | // RUN: echo 'module Y {}' > %t/y |
| 6 | // |
| 7 | // RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=X %t/x -x c++ -o %t/x.pcm |
| 8 | // RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=Y %t/y -x c++ -o %t/y.pcm |
| 9 | // RUN: %clang_cc1 -fmodules -fmodule-file=%t/x.pcm -fmodule-file=%t/y.pcm -x c++ /dev/null -fsyntax-only |
| 10 | // |
| 11 | // RUN: not test -f %t/modules.timestamp |
| 12 | // RUN: not test -f %t/modules.idx |