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

struct Mem {
        union {
        } u;
};

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