1 // RUN: %clang_cc1 %s -verify -Wall
2 
3 _Pragma ("GCC system_header")  // expected-warning {{system_header ignored in main file}}
4 
5 // rdar://6880630
6 _Pragma("#define macro")    // expected-warning {{unknown pragma ignored}}
7 
8 _Pragma("") // expected-warning {{unknown pragma ignored}}
9 _Pragma("message(\"foo \\\\\\\\ bar\")") // expected-warning {{foo \\ bar}}
10 
11 #ifdef macro
12 #error #define invalid
13 #endif
14 
15 _Pragma(unroll 1 // expected-error{{_Pragma takes a parenthesized string literal}}
16 
17 _Pragma(clang diagnostic push) // expected-error{{_Pragma takes a parenthesized string literal}}
18 
19 _Pragma( // expected-error{{_Pragma takes a parenthesized string literal}}
20