Files
clang-p2996/clang/test/CodeGen/empty-union-init.c
Chris Lattner 5a92bab4f0 "This moves built-in Objective-C types up the scope chains to where they can be replaced by versions included from the runtime library's headers."
This makes it ok to use @"foo" without a declaration for NSConstantString.

Patch by David Chisnall!

llvm-svn: 52593
2008-06-21 20:20:39 +00:00

14 lines
171 B
C

// RUN: clang -emit-llvm < %s -o -
// PR2419
struct Mem {
union {
} u;
};
struct Mem *columnMem(){
static const struct Mem nullMem = { {} };
}