[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Parser / pragma-visibility2.c
blobc654b6df0dd1580913825080a303c38c94764533
1 // RUN: %clang_cc1 -emit-llvm -triple i386-linux-gnu -o %t %s
2 // RUN: FileCheck --input-file=%t %s
3 // PR10392
5 #define push(foo) push(default)
6 #pragma GCC visibility push(hidden)
8 int v1;
9 // CHECK: @v1 = hidden global i32 0, align 4
11 #pragma GCC visibility pop
13 int v2;
14 // CHECK: @v2 ={{.*}} global i32 0, align 4
16 _Pragma("GCC visibility push(hidden)");
18 int v3;
19 // CHECK: @v3 = hidden global i32 0, align 4