1 // RUN: %clang_cc1 %s -verify -Wall
3 _Pragma ("GCC system_header") // expected-warning {{system_header ignored in main file}}
5 _Pragma("#define macro") // expected-warning {{unknown pragma ignored}}
7 _Pragma("") // expected-warning {{unknown pragma ignored}}
8 _Pragma("message(\"foo \\\\\\\\ bar\")") // expected-warning {{foo \\ bar}}
11 #error #define invalid
14 _Pragma(unroll
1 // expected-error{{_Pragma takes a parenthesized string literal}}
16 _Pragma(clang diagnostic push
) // expected-error{{_Pragma takes a parenthesized string literal}}
18 _Pragma( // expected-error{{_Pragma takes a parenthesized string literal}}