[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Lexer / pragma-message2.c
blob224ccfbbf8fc452f58520a31711c519dda68df27
1 // RUN: %clang_cc1 -E -Werror -verify %s 2>&1 | FileCheck %s
3 #pragma message "\\test" // expected-warning {{\test}}
4 // CHECK: #pragma message("\134test")
6 #pragma message("\\test") // expected-warning {{\test}}
7 // CHECK: #pragma message("\134test")
9 #pragma GCC warning "\"" "te" "st" "\"" // expected-warning {{"test"}}
10 // CHECK: #pragma GCC warning "\042test\042"
12 #pragma GCC warning("\"" "te" "st" "\"") // expected-warning {{"test"}}
13 // CHECK: #pragma GCC warning "\042test\042"
15 #pragma GCC error "" "[ ]" "" // expected-error {{[ ]}}
16 // CHECK: #pragma GCC error "[\011]"
18 #pragma GCC error("" "[ ]" "") // expected-error {{[ ]}}
19 // CHECK: #pragma GCC error "[\011]"