diff options
Diffstat (limited to 'clang/test/CodeGen/exprs.c')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index c22a4ecc71d..a0fe9600895 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -79,3 +79,6 @@ unsigned f1(void) { return (unsigned) fp; } +union f3_x {int x; float y;}; +int f3() {return ((union f3_x)2).x;} + |