aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/20160104-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/sparc/20160104-1.c')
-rw-r--r--gcc/testsuite/gcc.target/sparc/20160104-1.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/sparc/20160104-1.c b/gcc/testsuite/gcc.target/sparc/20160104-1.c
new file mode 100644
index 0000000..0cc617a
--- /dev/null
+++ b/gcc/testsuite/gcc.target/sparc/20160104-1.c
@@ -0,0 +1,16 @@
+/* PR target/69072 */
+/* Reported by Zdenek Sojka <zsojka@seznam.cz> */
+
+/* { dg-do compile } */
+
+typedef struct
+{
+ struct
+ {
+ double d;
+ } __attribute__((packed)) a;
+} S;
+
+void
+foo (S s1, S s2, S s3, S s4, S s5, S s6, S s7)
+{}