aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr51957-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr51957-1.h')
-rw-r--r--gcc/testsuite/gcc.dg/pr51957-1.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr51957-1.h b/gcc/testsuite/gcc.dg/pr51957-1.h
new file mode 100644
index 0000000..cfafb2c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr51957-1.h
@@ -0,0 +1,9 @@
+union R { int c; union R *p; };
+extern union R *w[];
+typedef struct { int t; } T;
+typedef struct { void *u; } U;
+union R *fn1 (void);
+void fn2 (int, const char *, union R *);
+void fn3 (void);
+int fn4 (union R *);
+void foo (U *x);