[cfe-commits] r54079 - /cfe/trunk/test/Sema/enum.c
Chris Lattner
sabre at nondot.org
Fri Jul 25 16:41:08 PDT 2008
Author: lattner
Date: Fri Jul 25 18:41:08 2008
New Revision: 54079
URL: http://llvm.org/viewvc/llvm-project?rev=54079&view=rev
Log:
fix diagnostics.
Modified:
cfe/trunk/test/Sema/enum.c
Modified: cfe/trunk/test/Sema/enum.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/enum.c?rev=54079&r1=54078&r2=54079&view=diff
==============================================================================
--- cfe/trunk/test/Sema/enum.c (original)
+++ cfe/trunk/test/Sema/enum.c Fri Jul 25 18:41:08 2008
@@ -40,11 +40,11 @@
void test4() {
for (; ve2;) // expected-error {{statement requires expression of scalar type}}
;
- (_Bool)ve2; // expected-error {{statement requires expression of scalar type}}
+ (_Bool)ve2; // expected-error {{arithmetic or pointer type is required}}
for (; ;ve2)
;
(void)ve2;
- ve2;
+ ve2; // expected-warning {{expression result unused}}
}
More information about the cfe-commits
mailing list