summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor
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
commit3c57f7ebab610ee09a95fa3665c68d217b733ff6 (patch)
tree70e7d4348cfab7a11eecbb4f4a7c558b4e09a40e /clang/test/Preprocessor
parentbcde17222280cc15c78903389a7f5a5eee31c0ec (diff)
downloadbcm5719-llvm-3c57f7ebab610ee09a95fa3665c68d217b733ff6.tar.gz
bcm5719-llvm-3c57f7ebab610ee09a95fa3665c68d217b733ff6.zip
fix a bug handling right associative operators that Neil noticed, hopefully
the final part of PR2279 llvm-svn: 50635
Diffstat (limited to 'clang/test/Preprocessor')
-rw-r--r--clang/test/Preprocessor/expr_liveness.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/expr_liveness.c b/clang/test/Preprocessor/expr_liveness.c
index 61c073204ca..da30616284c 100644
--- a/clang/test/Preprocessor/expr_liveness.c
+++ b/clang/test/Preprocessor/expr_liveness.c
@@ -26,6 +26,9 @@ bar
#error
#endif
+// PR2279
+#if 1 ? 2 ? 3 : 4 : 5
+#endif
#else
OpenPOWER on IntegriCloud