blob: 6cec420832d62462f091bdc5439695c009c7e11c [file] [log] [blame]
Richard Smith3938f0c2015-08-15 00:34:15 +00001// REQUIRES: shell
2//
3// RUN: rm -rf %t
4// RUN: mkdir %t
5// RUN: cd %t
6// RUN: echo 'module X {}' > %t/x
7// RUN: echo 'module Y {}' > %t/y
8//
9// RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=X %t/x -x c++ -o %t/x.pcm
10// RUN: %clang_cc1 -emit-module -fmodules -fmodule-name=Y %t/y -x c++ -o %t/y.pcm
11// RUN: %clang_cc1 -fmodules -fmodule-file=%t/x.pcm -fmodule-file=%t/y.pcm -x c++ /dev/null -fsyntax-only
12//
13// RUN: not test -f %t/modules.timestamp
14// RUN: not test -f %t/modules.idx