xref: /llvm-project/clang/test/CodeGen/conditional-gnu-ext.c (revision 8fbe78f6fc7b41d1a4228c126fcb522131150518)
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
2 // PR1824
3 
4 int foo(int x, short y) {
5   return x ?: y;
6 }
7 
8 // rdar://6586493
9 float test(float x, int Y) {
10   return Y != 0 ? : x;
11 }
12 
13