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

12 lines
176 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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 = {
{}
};