[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / crash-auto-36064.cpp
bloba34e5eea51cb040f5eec82eecdececb070b0d8d6
1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
2 template <typename A, decltype(new A)>
3 struct b;
4 struct d {
5 static auto c = ; // expected-error{{expected expression}}
6 // expected-error@-1 {{declaration of variable 'c' with deduced type 'auto' requires an initializer}}
8 decltype(b<decltype(c), int>); // expected-error{{expected '(' for function-style cast or type construction}}
9 };