mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 14:28:54 -04:00
13 lines
164 B
C
13 lines
164 B
C
// RUN: clang -emit-llvm %s -o %t
|
|
// PR1824
|
|
|
|
int foo(int x, short y) {
|
|
return x ?: y;
|
|
}
|
|
|
|
// rdar://6586493
|
|
float test(float x, int Y) {
|
|
return Y != 0 ? : x;
|
|
}
|
|
|