[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / 2005-02-19-BitfieldStructCrash.cpp
blob937a300b5dfbb1cce41f9e8d6540b2edc2097153
1 // RUN: %clang_cc1 -emit-llvm %s -o -
3 struct QChar {unsigned short X; QChar(unsigned short); } ;
5 struct Command {
6 Command(QChar c) : c(c) {}
7 unsigned int type : 4;
8 QChar c;
9 };
11 Command X(QChar('c'));
13 void Foo(QChar );
14 void bar() { Foo(X.c); }