[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / instantiate-init-list.cpp
blobe498d2476c0153bd169f78a11275319f9e1fbeee
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 // expected-no-diagnostics
4 struct F {
5 void (*x)();
6 };
7 void G();
8 template<class T> class A {
9 public: A();
11 template<class T> A<T>::A() {
12 static F f = { G };
14 A<int> a;