mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
add a testcase for my llvm-gcc hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8113c6739e
commit
a03a60b717
12
test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
Normal file
12
test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: %llvmgxx -c -emit-llvm %s -o -
|
||||
// rdar://7114564
|
||||
struct A {
|
||||
unsigned long long : (sizeof(unsigned long long) * 8) - 16;
|
||||
};
|
||||
struct B {
|
||||
A a;
|
||||
};
|
||||
struct B b = {
|
||||
{}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user