aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/clang-g-opts.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2010-03-10 17:45:58 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2010-03-10 17:45:58 +0000
commita16e9ac1f192503038f49e0c52edd7dcb2ce023a (patch)
tree56c1dd85a159948815817b5a90bedb39cf9ad105 /test/Driver/clang-g-opts.c
parentdd5132ce2569a1ef901c92772eb8581aa1705f25 (diff)
downloadsrc-a16e9ac1f192503038f49e0c52edd7dcb2ce023a.tar.gz
src-a16e9ac1f192503038f49e0c52edd7dcb2ce023a.zip
Update clang to r98164.
Notes
Notes: svn path=/vendor/clang/dist/; revision=204962
Diffstat (limited to 'test/Driver/clang-g-opts.c')
-rw-r--r--test/Driver/clang-g-opts.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/clang-g-opts.c b/test/Driver/clang-g-opts.c
new file mode 100644
index 000000000000..4dbdf6167734
--- /dev/null
+++ b/test/Driver/clang-g-opts.c
@@ -0,0 +1,5 @@
+// RUN: %clang -S -v -o %t %s 2>&1 | not grep -w -- -g
+// RUN: %clang -S -v -o %t %s -g 2>&1 | grep -w -- -g
+// RUN: %clang -S -v -o %t %s -g0 2>&1 | not grep -w -- -g
+// RUN: %clang -S -v -o %t %s -g -g0 2>&1 | not grep -w -- -g
+// RUN: %clang -S -v -o %t %s -g0 -g 2>&1 | grep -w -- -g