diff options
Diffstat (limited to 'clang/test/CodeGen/2003-11-01-GlobalUnionInit.c')
-rw-r--r-- | clang/test/CodeGen/2003-11-01-GlobalUnionInit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2003-11-01-GlobalUnionInit.c b/clang/test/CodeGen/2003-11-01-GlobalUnionInit.c new file mode 100644 index 0000000..8290379 --- /dev/null +++ b/clang/test/CodeGen/2003-11-01-GlobalUnionInit.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + +union bdflush_param { + struct { int x; } b_un; + int y[1]; +} bdf_prm = {{30}}; + |