summaryrefslogtreecommitdiffstats
path: root/src/debug/dwarf/testdata/cycle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/dwarf/testdata/cycle.c')
-rw-r--r--src/debug/dwarf/testdata/cycle.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/debug/dwarf/testdata/cycle.c b/src/debug/dwarf/testdata/cycle.c
new file mode 100644
index 0000000..a0b53df
--- /dev/null
+++ b/src/debug/dwarf/testdata/cycle.c
@@ -0,0 +1,7 @@
+typedef struct aaa *AAA;
+typedef AAA BBB;
+struct aaa { BBB val; };
+
+AAA x(void) {
+ return (AAA)0;
+}