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