[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Preprocessor / hash_line.c
blob1b5064fe549dc9a14db118ee13430e1caede793e
1 // The 1 and # should not go on the same line.
2 // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
3 // CHECK: {{^1$}}
4 // CHECK-NEXT: {{^ #$}}
5 // CHECK-NEXT: {{^2$}}
6 // CHECK-NEXT: {{^ #$}}
8 // RUN: %clang_cc1 -E -P -fminimize-whitespace %s | FileCheck --strict-whitespace %s --check-prefix=MINWS
9 // MINWS: {{^}}1#2#{{$}}
11 #define EMPTY
12 #define IDENTITY(X) X
14 EMPTY #
16 IDENTITY() #