1 # Check that types with the same names in distinct TUs show up as
4 #source: cross-tu-cyclic-1.c
5 #source: cross-tu-cyclic-2.c
8 #name: cross-TU-cyclic-conflicting
12 Contents of CTF section \.ctf:
17 0x[0-9a-f]*: \(kind 6\) struct B .*
19 0x[0-9a-f]*: \(kind 1\) int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
21 0x[0-9a-f]*: \(kind 1\) long int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
23 0x[0-9a-f]*: \(kind 9\) struct A
25 0x[0-9a-f]*: \(kind 6\) struct C .*
31 CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-1\.c:
34 0x80[0-9a-f]*: \(kind 6\) struct A .*
35 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
36 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*\: \(kind 3\) struct B \* .*
41 CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-2\.c:
44 0x80[0-9a-f]*: \(kind 6\) struct A .*
45 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
46 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
47 *\[0x[0-9a-f]*\] bar: ID 0x[0-9a-f]*: \(kind 3\) struct C \* .*