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