diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-11-16 04:25:37 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-11-16 04:25:37 +0000 |
commit | 7f92f0362ef2cf218bc19bb83e1a97dd254b5527 (patch) | |
tree | 29bfaf7fb82d5f094d9dc6cf255a53e0b48c672b /test/Sema/const-eval.c | |
parent | 1eacb725d3d43591b5132fcb6ae792e7d192192a (diff) |
Add constant evaluation for comma operator with floating-point operand. Fixes
PR5449.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/const-eval.c')
-rw-r--r-- | test/Sema/const-eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/const-eval.c b/test/Sema/const-eval.c index 87d1f155eb..39a24b3269 100644 --- a/test/Sema/const-eval.c +++ b/test/Sema/const-eval.c @@ -73,3 +73,5 @@ EVAL_EXPR(34, (foo == (void *)0) ? -1 : 1) const _Bool constbool = 0; EVAL_EXPR(35, constbool) EVAL_EXPR(36, constbool) + +EVAL_EXPR(37, (1,2.0) == 2.0) |