aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/expr_liveness.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/expr_liveness.c')
-rw-r--r--test/Preprocessor/expr_liveness.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/expr_liveness.c b/test/Preprocessor/expr_liveness.c
index f14ac0a913..61c073204c 100644
--- a/test/Preprocessor/expr_liveness.c
+++ b/test/Preprocessor/expr_liveness.c
@@ -20,6 +20,13 @@ bar
#if 0 ? 124/0 : 42
#endif
+// PR2279
+#if 0 ? 1/0: 2
+#else
+#error
+#endif
+
+
#else