diff options
Diffstat (limited to 'ld/testsuite/ld-ctf/cycle-1.c')
-rw-r--r-- | ld/testsuite/ld-ctf/cycle-1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ctf/cycle-1.c b/ld/testsuite/ld-ctf/cycle-1.c new file mode 100644 index 0000000..371d411 --- /dev/null +++ b/ld/testsuite/ld-ctf/cycle-1.c @@ -0,0 +1,7 @@ +struct cycle_1 { + struct A *a; + struct B *b; + struct cycle_1 *next; +}; + +static struct cycle_1 *cycle_1 __attribute__((used)); |