[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / mangle-local-anonymous-unions.cpp
blob9187c1a5a27ac0d496406b09ea3ac97b4134db77
1 // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
3 // CHECK-DAG: @_ZZ2f0vE1a
4 // CHECK-DAG: @_ZZ2f0vE1c
5 // CHECK-DAG: @_ZZ2f0vE1e_0
6 inline int f0() {
7 static union {
8 int a;
9 long int b;
12 static union {
13 int c;
14 double d;
17 if (0) {
18 static union {
19 int e;
20 int f;
23 static union {
24 int e;
25 int f;
28 return a+c;
31 inline void nop() {
32 static union {
33 union {
38 int f1 (int a, int c) {
39 nop();
40 return a+c+f0();