summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/union.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/union.c')
-rw-r--r--clang/test/CodeGen/union.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/union.c b/clang/test/CodeGen/union.c
index b40a405597a..1883ca639b7 100644
--- a/clang/test/CodeGen/union.c
+++ b/clang/test/CodeGen/union.c
@@ -39,3 +39,6 @@ int qfunc() {q buf; unsigned char* x = buf.x;}
union RR {_Bool a : 1;} RRU;
int RRF(void) {return RRU.a;}
+// PR6164
+typedef union T0 { unsigned int : 0; } T0;
+T0 t0;
OpenPOWER on IntegriCloud