[cfe-commits] r64707 - /cfe/trunk/test/Sema/unused-expr.c

Chris Lattner sabre at nondot.org
Mon Feb 16 16:32:04 PST 2009


Author: lattner
Date: Mon Feb 16 18:32:04 2009
New Revision: 64707

URL: http://llvm.org/viewvc/llvm-project?rev=64707&view=rev
Log:
sema no longer explodes, yay!

Modified:
    cfe/trunk/test/Sema/unused-expr.c

Modified: cfe/trunk/test/Sema/unused-expr.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/unused-expr.c?rev=64707&r1=64706&r2=64707&view=diff

==============================================================================
--- cfe/trunk/test/Sema/unused-expr.c (original)
+++ cfe/trunk/test/Sema/unused-expr.c Mon Feb 16 18:32:04 2009
@@ -19,9 +19,8 @@
   P[4];                // expected-warning {{expression result unused}}
   VP[4];               // no warning.
 
-  // FIXME: SEMA explodes on these.
-  //__real__ C;
-  //__real__ VC;
+  __real__ C;          // expected-warning {{expression result unused}}
+  __real__ VC;
 }
 
 extern void t1();





More information about the cfe-commits mailing list