aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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 1e4346d471..616cf56ece 100644
--- a/test/CodeGen/union.c
+++ b/test/CodeGen/union.c
@@ -36,3 +36,6 @@ typedef union{
} q;
int qfunc() {q buf; unsigned char* x = buf.x;}
+union RR {_Bool a : 1;} RRU;
+int RRF(void) {return RRU.a;}
+