xref: /llvm-project/clang/test/CodeGen/empty-union-init.c (revision 12f78e740c5419f7d1fbcf8f2106e7a40cd1d6f7)
1 // RUN: %clang_cc1 -emit-llvm < %s -o -
2 // PR2419
3 
4 struct Mem {
5         union {
6         } u;
7 };
8 
9 struct Mem *columnMem(void){
10         static const struct Mem nullMem = { {} };
11         return 0;
12 }
13 
14 
15