1 # Check that a type outside a cycle pointing into a cycle
2 # in another TU does not cause the whole cycle to show up
3 # as conflicted. (Here, we do that by forcing conflicts
4 # in the variable section alone, so that we can assert that
5 # the type section of any conflicted dicts is empty.)
6 # Minimized from libbfd itself.
8 #source: cross-tu-cyclic-3.c
9 #source: cross-tu-cyclic-4.c
11 #ld: -shared --ctf-variables
12 #name: cross-TU-into-cycle
16 Contents of CTF section .ctf:
20 Version: 4 \(CTF_VERSION_3\)
34 0x[0-9a-f]*: \(kind 6\) struct A .*
35 *\[0x0\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
36 0x[0-9a-f]*: \(kind 6\) struct B .*
37 *\[0x0\] next: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
38 0x[0-9a-f]*: \(kind 3\) struct B \* .*
39 0x[0-9a-f]*: \(kind 3\) struct A \* .*
44 CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-[34].c: