1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -Werror -verify %s 2>&1 | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc #pragma message "\\test" // expected-warning {{\test}} 4*f4a2713aSLionel Sambuc // CHECK: #pragma message("\134test") 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc #pragma message("\\test") // expected-warning {{\test}} 7*f4a2713aSLionel Sambuc // CHECK: #pragma message("\134test") 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc #pragma GCC warning "\"" "te" "st" "\"" // expected-warning {{"test"}} 10*f4a2713aSLionel Sambuc // CHECK: #pragma GCC warning "\042test\042" 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc #pragma GCC warning("\"" "te" "st" "\"") // expected-warning {{"test"}} 13*f4a2713aSLionel Sambuc // CHECK: #pragma GCC warning "\042test\042" 14*f4a2713aSLionel Sambuc 15*f4a2713aSLionel Sambuc #pragma GCC error "" "[ ]" "" // expected-error {{[ ]}} 16*f4a2713aSLionel Sambuc // CHECK: #pragma GCC error "[\011]" 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc #pragma GCC error("" "[ ]" "") // expected-error {{[ ]}} 19*f4a2713aSLionel Sambuc // CHECK: #pragma GCC error "[\011]" 20