summaryrefslogtreecommitdiffstats
path: root/test/Driver/preserve-as-comments.c
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-07-28 00:36:34 +0000
committerNirav Dave <niravd@google.com>2016-07-28 00:36:34 +0000
commitd3f9573c05eb2f187c918834e202ed6a4f81cb98 (patch)
treec09c4cedbff1df67670d0a691c04071eb5bce1db /test/Driver/preserve-as-comments.c
parenta43c36ccf1e90e367b4c663cc91f4fe7a21dd883 (diff)
Replace preserve-as-comments CodeGen test with driver test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/preserve-as-comments.c')
-rw-r--r--test/Driver/preserve-as-comments.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Driver/preserve-as-comments.c b/test/Driver/preserve-as-comments.c
new file mode 100644
index 0000000000..7e623e403f
--- /dev/null
+++ b/test/Driver/preserve-as-comments.c
@@ -0,0 +1,2 @@
+// RUN: %clang -S -fno-preserve-as-comments %s -### 2>&1 | FileCheck %s
+// CHECK: "-fno-preserve-as-comments"