llvm-mirror/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
Chris Lattner ece2bb9052 add a testcase for my llvm-gcc hack.
llvm-svn: 78289
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 = {
{}
};