diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-14 20:29:10 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-14 20:29:10 +0000 |
commit | e2978e337520bab472fdfa7dfda839bafbf750e9 (patch) | |
tree | 9eac9c02138bc5cc7daf6c9fb0a1ce877d08810c | |
parent | 8ee51ef211bfed9ce04bc93835e19aee014f2fae (diff) |
Add test for the driver's handling of modules
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Modules/driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/driver.c b/test/Modules/driver.c new file mode 100644 index 0000000000..de10cd0cec --- /dev/null +++ b/test/Modules/driver.c @@ -0,0 +1,6 @@ +// RUN: %clang %s -### 2>&1 | FileCheck -check-prefix NO_MODULE_CACHE %s +// RUN: %clang -fmodule-cache-path blarg %s -### 2>&1 | FileCheck -check-prefix WITH_MODULE_CACHE %s + +// CHECK-NO_MODULE_CACHE: {{clang.*"-fmodule-cache-path"}} + +// CHECK-WITH_MODULE_CACHE: {{clang.*"-fmodule-cache-path" "blarg"}} |