summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/if_warning.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/if_warning.c')
-rw-r--r--test/Preprocessor/if_warning.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/if_warning.c b/test/Preprocessor/if_warning.c
index 345ac95..641ec3b 100644
--- a/test/Preprocessor/if_warning.c
+++ b/test/Preprocessor/if_warning.c
@@ -20,6 +20,10 @@ extern int x;
#endif
#endif
+// rdar://9475098
+#if 0
+#else 1 // expected-warning {{extra tokens}}
+#endif
// PR6852
#if 'somesillylongthing' // expected-warning {{character constant too long for its type}} \
OpenPOWER on IntegriCloud