llvm-for-llvmta/tools/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp

12 lines
176 B
C++

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