1 // RUN: %clang_cc1 %s -verify -Wall
3 _Pragma ("GCC system_header") // expected-warning {{system_header ignored in main file}}
6 _Pragma("#define macro") // expected-warning {{unknown pragma ignored}}
8 _Pragma("") // expected-warning {{unknown pragma ignored}}
9 _Pragma("message(\"foo \\\\\\\\ bar\")") // expected-warning {{foo \\ bar}}
12 #error #define invalid
15 _Pragma(unroll
1 // expected-error{{_Pragma takes a parenthesized string literal}}
17 _Pragma(clang diagnostic push
) // expected-error{{_Pragma takes a parenthesized string literal}}
19 _Pragma( // expected-error{{_Pragma takes a parenthesized string literal}}