aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/expr_liveness.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-05 04:10:51 +0000
committerChris Lattner <sabre@nondot.org>2008-05-05 04:10:51 +0000
commit9e66ba6d1c1c0e11b261e3b20ff02b999621021a (patch)
treeae9c33851dc0ad021d8b234bdc119284c063fc10 /test/Preprocessor/expr_liveness.c
parent8aedf199e986fffd4372cc9106e32f19709d7e87 (diff)
fix a bug handling right associative operators that Neil noticed, hopefully
the final part of PR2279 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/expr_liveness.c')
-rw-r--r--test/Preprocessor/expr_liveness.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/expr_liveness.c b/test/Preprocessor/expr_liveness.c
index 61c073204c..da30616284 100644
--- a/test/Preprocessor/expr_liveness.c
+++ b/test/Preprocessor/expr_liveness.c
@@ -26,6 +26,9 @@ bar
#error
#endif
+// PR2279
+#if 1 ? 2 ? 3 : 4 : 5
+#endif
#else