llvm-project/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp

12 lines
176 B
C++
Raw Normal View History

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