diff options
Diffstat (limited to 'gcc_arm/testsuite/gcc.c-torture/compile/931018-1.c')
-rwxr-xr-x | gcc_arm/testsuite/gcc.c-torture/compile/931018-1.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/gcc.c-torture/compile/931018-1.c b/gcc_arm/testsuite/gcc.c-torture/compile/931018-1.c new file mode 100755 index 0000000..7efe40e --- /dev/null +++ b/gcc_arm/testsuite/gcc.c-torture/compile/931018-1.c @@ -0,0 +1,14 @@ +typedef struct +{ + int a, b; +} T; + +f (T *bs) +{ + long long x; + x = ({ + union { T s; long long l; } u; + u.s = *bs; + u.l; + }); +} |