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

13 lines
167 B
C++

// RUN: %llvmgxx -S %s -o -
// rdar://7114564
struct A {
unsigned long long : (sizeof(unsigned long long) * 8) - 16;
};
struct B {
A a;
};
struct B b = {
{}
};