diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-04-04 07:06:30 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-04-04 07:06:30 +0000 |
commit | 6fb522ef3e9c20e3d66c2caa5c9b830e6b246249 (patch) | |
tree | 8d32eb36aa98f442d027e35d6dcdf7c416e8f0fe | |
parent | 9033092415117a67305052d4ac4d94a9e9bfc70d (diff) |
Add a testcase for svn r153854.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154001 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/apple-kext-i386.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/apple-kext-i386.cpp b/test/Driver/apple-kext-i386.cpp index c82cd87404..6c536074df 100644 --- a/test/Driver/apple-kext-i386.cpp +++ b/test/Driver/apple-kext-i386.cpp @@ -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 |