1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/C++Frontend/2005-02-19-BitfieldStructCrash.cpp
Chris Lattner eb8c079611 new testcase.
llvm-svn: 20244
2005-02-19 06:54:44 +00:00

12 lines
220 B
C++

// RUN: %llvmgxx -S %s -o -
struct QChar {unsigned short X; QChar(unsigned short); } ;
struct Command {
Command(QChar c) : c(c) {}
unsigned int type : 4;
QChar c;
};
Command X(QChar('c'));