[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / short-enums.cpp
blobca713b73341061c6e1983f74db37f8a0926cd37e
1 // RUN: %clang_cc1 -fshort-enums -fsyntax-only %s
3 // This shouldn't crash: PR9474
5 enum E { VALUE_1 };
7 template <typename T>
8 struct A {};
10 template <E Enum>
11 struct B : A<B<Enum> > {};
13 void bar(int x) {
14 switch (x) {
15 case sizeof(B<VALUE_1>): ;