mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20244 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23a1cf3e08
commit
9f95ab7e61
11
test/C++Frontend/2005-02-19-BitfieldStructCrash.cpp
Normal file
11
test/C++Frontend/2005-02-19-BitfieldStructCrash.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
// 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'));
|
Loading…
x
Reference in New Issue
Block a user