diff options
Diffstat (limited to 'test/CodeGen/conditional.c')
-rw-r--r-- | test/CodeGen/conditional.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/conditional.c b/test/CodeGen/conditional.c index 15e15f1..88538a2 100644 --- a/test/CodeGen/conditional.c +++ b/test/CodeGen/conditional.c @@ -66,3 +66,9 @@ int test11(int c) { double test12(int c) { return c ? 4.0 : 2.0; } +// CHECK: @test13 +// CHECK: call {{.*}} @f2( +int f2(void); +void test13() { + f2() ? (void)0 : (void)0; +} |