[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / member-data-pointers.cpp
blobd3473668a7f4ec43fcb7d9483d65cb7a8342ad62
1 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-unknown-unknown | FileCheck -check-prefix GLOBAL-LP64 %s
2 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=armv7-unknown-unknown | FileCheck -check-prefix GLOBAL-LP32 %s
4 struct A;
5 typedef int A::*param_t;
6 struct {
7 const char *name;
8 param_t par;
9 } *ptr;
10 void test_ptr() { (void) ptr; } // forced use
12 // GLOBAL-LP64: type { i8*, i64 }
13 // GLOBAL-LP32: type { i8*, i32 }