]> granicus.if.org Git - clang/commitdiff
Add a testcase for svn r153854.
authorBob Wilson <bob.wilson@apple.com>
Wed, 4 Apr 2012 07:06:30 +0000 (07:06 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 4 Apr 2012 07:06:30 +0000 (07:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154001 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/apple-kext-i386.cpp

index c82cd87404544bde71ae0bc035fc7e91af854cc9..6c536074df52bcc9d3b361e71336e1820f9094bb 100644 (file)
@@ -40,3 +40,8 @@
 
 // CHECK-UNSUPPORTED2: cc1plus"
 // CHECK-UNSUPPORTED2-NOT: "-Wconstant-logical-operand"
+
+// Check that --serialize-diagnostics does not cause an "argument unused" error.
+// RUN: %clang -target i386-apple-darwin10 \
+// RUN:   -Werror -Wall -Wno-comment -fapple-kext \
+// RUN:   --serialize-diagnostics %t.dia -c %s