[cfe-commits] r46940 - /cfe/trunk/test/CodeGen/conditional.c
Eli Friedman
eli.friedman at gmail.com
Sun Feb 10 15:18:23 PST 2008
Author: efriedma
Date: Sun Feb 10 17:18:23 2008
New Revision: 46940
URL: http://llvm.org/viewvc/llvm-project?rev=46940&view=rev
Log:
Basic codegen test for conditional with void*.
Modified:
cfe/trunk/test/CodeGen/conditional.c
Modified: cfe/trunk/test/CodeGen/conditional.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/conditional.c?rev=46940&r1=46939&r2=46940&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/conditional.c (original)
+++ cfe/trunk/test/CodeGen/conditional.c Sun Feb 10 17:18:23 2008
@@ -19,3 +19,9 @@
int i; short j;
float* k = 1 ? &i : &j;
}
+
+void test5() {
+ const int* cip;
+ void* vp;
+ cip = 0 ? vp : cip;
+}
More information about the cfe-commits
mailing list