summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/_Pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/_Pragma.c')
-rw-r--r--test/Preprocessor/_Pragma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/_Pragma.c b/test/Preprocessor/_Pragma.c
index 0a83b14..15725a4 100644
--- a/test/Preprocessor/_Pragma.c
+++ b/test/Preprocessor/_Pragma.c
@@ -5,6 +5,9 @@ _Pragma ("GCC system_header") // expected-warning {{system_header ignored in ma
// rdar://6880630
_Pragma("#define macro") // expected-warning {{unknown pragma ignored}}
+_Pragma("") // expected-warning {{unknown pragma ignored}}
+_Pragma("message(\"foo \\\\\\\\ bar\")") // expected-warning {{foo \\ bar}}
+
#ifdef macro
#error #define invalid
#endif
OpenPOWER on IntegriCloud