commit | 86bd5f52711b45b87aeac7113e0a276a699537eb | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri May 16 17:37:11 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri May 16 17:37:11 2008 +0000 |
tree | 22287dc136aa75e042304dc8d19ef70986fdc483 | |
parent | bdbd1b596e4b98698dfbd98738370f5e2aef0ca8 [diff] [blame] |
Patch for PR2334, and a similar ObjC bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51193 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/conditional.c b/test/CodeGen/conditional.c index ae44207..d3e5c0b 100644 --- a/test/CodeGen/conditional.c +++ b/test/CodeGen/conditional.c
@@ -25,3 +25,8 @@ void* vp; cip = 0 ? vp : cip; } + +void test6(); +void test7(int); +void* test8() {return 1 ? test6 : test7;} +