diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 23:54:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 23:54:23 +0000 |
commit | c21c485b4fb58ef5d55cf3e523263dd824a2ace4 (patch) | |
tree | a59d2edf3ba6b7dc4b9700c163f9e97b26bc93e7 /test/Driver/clang_cpp.c | |
parent | a0c3e9cde1581b1b4d43ca89fdf413cd84eaec1f (diff) |
Driver: Split out CPP specific options for clang so that we don't end
up adding them twice when running with -no-integrated-cpp or
-save-temps.
- <rdar://problem/6766636> -save-temps falls over with prefix headers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/clang_cpp.c')
-rw-r--r-- | test/Driver/clang_cpp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/clang_cpp.c b/test/Driver/clang_cpp.c new file mode 100644 index 0000000000..fdbb321e1e --- /dev/null +++ b/test/Driver/clang_cpp.c @@ -0,0 +1,4 @@ +// Verify that -include isn't included twice with -save-temps. +// RUN: clang -S -o - %s -include %t.h -save-temps -### 2> %t.log && +// RUN: grep '"-include' %t.log | count 1 + |