Fix a codegen crash on void ?: reported by Oliver


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44454 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/conditional.c b/test/CodeGen/conditional.c
index 57a0be1..15359e0 100644
--- a/test/CodeGen/conditional.c
+++ b/test/CodeGen/conditional.c
@@ -8,3 +8,10 @@
 {
   return cond ? a : b;
 }
+
+void f();
+
+void test3(){
+   1 ? f() : (void)0;
+}
+