[cfe-commits] r57479 - /cfe/trunk/test/Sema/i-c-e2.c

Chris Lattner sabre at nondot.org
Mon Oct 13 23:32:07 PDT 2008


Author: lattner
Date: Tue Oct 14 01:32:07 2008
New Revision: 57479

URL: http://llvm.org/viewvc/llvm-project?rev=57479&view=rev
Log:
add a testcase.

Modified:
    cfe/trunk/test/Sema/i-c-e2.c

Modified: cfe/trunk/test/Sema/i-c-e2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/i-c-e2.c?rev=57479&r1=57478&r2=57479&view=diff

==============================================================================
--- cfe/trunk/test/Sema/i-c-e2.c (original)
+++ cfe/trunk/test/Sema/i-c-e2.c Tue Oct 14 01:32:07 2008
@@ -14,3 +14,9 @@
  }
 }
 
+
+// rdar://4213768
+int expr;
+char y[__builtin_constant_p(expr) ? -1 : 1];
+char z[__builtin_constant_p(4) ? 1 : -1];
+





More information about the cfe-commits mailing list