diff options
Diffstat (limited to 'clang/test/CodeGen/union.c')
| -rw-r--r-- | clang/test/CodeGen/union.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/union.c b/clang/test/CodeGen/union.c index 4d32abdf54d..b47e697adc5 100644 --- a/clang/test/CodeGen/union.c +++ b/clang/test/CodeGen/union.c @@ -26,3 +26,8 @@ typedef union { int i; int *j; } value;  int f3(value v) {    return *v.j;  } + +enum E9 { one, two }; +union S65 { enum E9 a:62; } ; union S65 s65; +void fS65() { enum E9 e = s65.a; }  +  | 

