summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/empty-union-init.c
blob: a58354b772f3dff7ba0420a29f258b29e0d8e684 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -emit-llvm < %s -o -
// PR2419

struct Mem {
        union {
        } u;
};

struct Mem *columnMem(){
        static const struct Mem nullMem = { {} };
}