[cfe-commits] r62946 - /cfe/trunk/test/Sema/stmt_exprs.c
Eli Friedman
eli.friedman at gmail.com
Sat Jan 24 15:44:26 PST 2009
Author: efriedma
Date: Sat Jan 24 17:44:26 2009
New Revision: 62946
URL: http://llvm.org/viewvc/llvm-project?rev=62946&view=rev
Log:
Correct test; sorry for any inconvenience.
Modified:
cfe/trunk/test/Sema/stmt_exprs.c
Modified: cfe/trunk/test/Sema/stmt_exprs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/stmt_exprs.c?rev=62946&r1=62945&r2=62946&view=diff
==============================================================================
--- cfe/trunk/test/Sema/stmt_exprs.c (original)
+++ cfe/trunk/test/Sema/stmt_exprs.c Sat Jan 24 17:44:26 2009
@@ -21,4 +21,4 @@
void test7() { ({5;}); } // expected-warning {{expression result unused}}
// PR3062
-int x[({10;})]; // expected-error {{illegal statement expression}}
+int x[({10;})]; // expected-error {{statement expression not allowed at file scope}}
More information about the cfe-commits
mailing list