new testcase

llvm-svn: 38832
This commit is contained in:
Chris Lattner 2006-08-06 21:55:13 +00:00
parent 1906f8087d
commit 944bde95ef
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: clang -fsyntax-only -fno-caret-diagnostics %s 2>&1 | grep error | wc -l | grep 2 &&
// RUN: clang -fsyntax-only -fno-caret-diagnostics -pedantic %s 2>&1 | grep warning | wc -l | grep 1
char ((((*X x ] )))); // two errors (start pos and end pos).
; // pedantic warning.