aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h b/gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h
new file mode 100644
index 000000000..56d80cbfb
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/compat/union-m128-1.h
@@ -0,0 +1,17 @@
+#include <xmmintrin.h>
+
+typedef struct
+{
+ __m128 x;
+} SS_struct_mi128;
+
+typedef union
+{
+ __m128 x;
+} SS_union_mi128;
+
+typedef union
+{
+ __m128 x;
+ unsigned long long u[2];
+} union_mi128;