diff options
Diffstat (limited to 'test/CodeGen/PR3130-cond-constant.c')
-rw-r--r-- | test/CodeGen/PR3130-cond-constant.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/PR3130-cond-constant.c b/test/CodeGen/PR3130-cond-constant.c new file mode 100644 index 000000000000..e488eeb37f67 --- /dev/null +++ b/test/CodeGen/PR3130-cond-constant.c @@ -0,0 +1,3 @@ +// RUN: clang-cc -emit-llvm %s -o - + +int a = 2.0 ? 1 : 2; |