[cfe-commits] r60927 - /cfe/trunk/test/Sema/exprs.c

Chris Lattner sabre at nondot.org
Thu Dec 11 21:59:57 PST 2008


Author: lattner
Date: Thu Dec 11 23:59:56 2008
New Revision: 60927

URL: http://llvm.org/viewvc/llvm-project?rev=60927&view=rev
Log:
add expected diag

Modified:
    cfe/trunk/test/Sema/exprs.c

Modified: cfe/trunk/test/Sema/exprs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/exprs.c?rev=60927&r1=60926&r2=60927&view=diff

==============================================================================
--- cfe/trunk/test/Sema/exprs.c (original)
+++ cfe/trunk/test/Sema/exprs.c Thu Dec 11 23:59:56 2008
@@ -42,6 +42,6 @@
 // rdar://6095061
 int test8(void) {
   int i;
-  __builtin_choose_expr (0, 42, i) = 10;
+  __builtin_choose_expr (0, 42, i) = 10;  // expected-warning {{extension used}}
   return i;
 }





More information about the cfe-commits mailing list