llvm-6502/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
Chris Lattner a03a60b717 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
2009-08-06 06:18:52 +00:00

13 lines
178 B
C++

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