llvm-6502/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp

13 lines
178 B
C++
Raw Normal View History

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