aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr18735.d
blob: 8ec0938d1f1bf08cfbdb70036040e10894559f7a (plain)
1
2
3
4
5
6
7
8
9
10
#ld: -r
#readelf: -s

Symbol table '.symtab' contains .* entries:
#...
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo@FOO
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar@@FOO
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar
#pass