Add a testcase for svn r153854.

llvm-svn: 154001
This commit is contained in:
Bob Wilson 2012-04-04 07:06:30 +00:00
parent 25ec9d6b38
commit 5b6411591c
1 changed files with 5 additions and 0 deletions

View 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