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:
Chris Lattner 2009-08-06 06:18:52 +00:00
parent 8113c6739e
commit a03a60b717

View 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 = {
{}
};