#name: SHF_GNU_RETAIN 1a
#source: retain1.s
#ld: -e _start --gc-sections
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
#DUMPPROG: nm

#...
[0-9a-f]+ . fnretain1
#...
[0-9a-f]+ . lsretain0.2
#...
[0-9a-f]+ . lsretain1.1
#...
[0-9a-f]+ . lsretain2.0
#...
[0-9a-f]+ . retain0
#...
[0-9a-f]+ . retain1
#...
[0-9a-f]+ . retain2
#...
[0-9a-f]+ . sretain0
#...
[0-9a-f]+ . sretain1
#...
[0-9a-f]+ . sretain2
#pass
