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

struct Mem {
        union {
        } u;
};

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


OpenPOWER on IntegriCloud