summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/union.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/union.c')
-rw-r--r--test/CodeGen/union.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/union.c b/test/CodeGen/union.c
index b40a405..1883ca6 100644
--- a/test/CodeGen/union.c
+++ b/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