summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/expr_liveness.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/expr_liveness.c')
-rw-r--r--clang/test/Preprocessor/expr_liveness.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/expr_liveness.c b/clang/test/Preprocessor/expr_liveness.c
index da30616284c..3f4003ea3af 100644
--- a/clang/test/Preprocessor/expr_liveness.c
+++ b/clang/test/Preprocessor/expr_liveness.c
@@ -30,6 +30,10 @@ bar
#if 1 ? 2 ? 3 : 4 : 5
#endif
+// PR2284
+#if 1 ? 0: 1 ? 1/0: 1/0
+#endif
+
#else
OpenPOWER on IntegriCloud