mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 12:51:20 +00:00
add a testcase for my llvm-gcc hack.
llvm-svn: 78289
This commit is contained in:
parent
5cce0d81d1
commit
ece2bb9052
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…
x
Reference in New Issue
Block a user