summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/cycle.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/dwz.tests/cycle.c')
-rw-r--r--testsuite/dwz.tests/cycle.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/cycle.c b/testsuite/dwz.tests/cycle.c
new file mode 100644
index 0000000..4795a79
--- /dev/null
+++ b/testsuite/dwz.tests/cycle.c
@@ -0,0 +1,13 @@
+struct s;
+
+struct s {
+ struct s *p;
+};
+
+struct s var;
+
+int
+main (void)
+{
+ return 0;
+}