commit | 9e74fc303df252bf89205769dfed159eeac6d484 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sun Feb 10 23:18:23 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sun Feb 10 23:18:23 2008 +0000 |
tree | 75a693de54a71e4cc6d75336abb8f2478fa15331 | |
parent | a6ecb9e9a69917485eabec8beb93a44a3a986bdf [diff] [blame] |
Basic codegen test for conditional with void*. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46940 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/conditional.c b/test/CodeGen/conditional.c index 24a5aca..ae44207 100644 --- a/test/CodeGen/conditional.c +++ b/test/CodeGen/conditional.c
@@ -19,3 +19,9 @@ int i; short j; float* k = 1 ? &i : &j; } + +void test5() { + const int* cip; + void* vp; + cip = 0 ? vp : cip; +}