[cfe-commits] r69532 - /cfe/trunk/test/Preprocessor/macro_paste_bad.c

Chris Lattner sabre at nondot.org
Sun Apr 19 11:54:14 PDT 2009


Author: lattner
Date: Sun Apr 19 13:54:13 2009
New Revision: 69532

URL: http://llvm.org/viewvc/llvm-project?rev=69532&view=rev
Log:
convert to -verify mode.

Modified:
    cfe/trunk/test/Preprocessor/macro_paste_bad.c

Modified: cfe/trunk/test/Preprocessor/macro_paste_bad.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/macro_paste_bad.c?rev=69532&r1=69531&r2=69532&view=diff

==============================================================================
--- cfe/trunk/test/Preprocessor/macro_paste_bad.c (original)
+++ cfe/trunk/test/Preprocessor/macro_paste_bad.c Sun Apr 19 13:54:13 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -Eonly %s 2>&1 | grep error
+// RUN: clang-cc -Eonly -verify %s
 // pasting ""x"" and ""+"" does not give a valid preprocessing token
-#define XYZ  x ## +
+#define XYZ  x ## +   // expected-error {{pasting formed 'x', an invalid preprocessing token}}
 XYZ
 





More information about the cfe-commits mailing list