llvm-for-llvmta/tools/clang/test/CodeGen/empty-union-init.c

14 lines
176 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm < %s -o -
// PR2419
struct Mem {
union {
} u;
};
struct Mem *columnMem(){
static const struct Mem nullMem = { {} };
}