Make sure to check the value of the constant expression, as suggested by Daniel.

llvm-svn: 65021
diff --git a/clang/test/Sema/const-eval.c b/clang/test/Sema/const-eval.c
index a565041..4fd2a55 100644
--- a/clang/test/Sema/const-eval.c
+++ b/clang/test/Sema/const-eval.c
@@ -33,4 +33,4 @@
 // ?: in constant expressions.
 int g17[(3?:1) - 2]; 
 
-EVAL_EXPR(18, (int)((void*)10 + 10));
+EVAL_EXPR(18, ((int)((void*)10 + 10)) == 20 ? 1 : -1);