PR23648 testcase
[binutils-gdb.git] / ld / testsuite / ld-elf / pr23648.t
1 MEMORY { code : ORIGIN = 0, LENGTH = 8M }
2
3 SECTIONS
4 {
5 ENTRY (entry)
6 .text 1M : { *(.text*) } >code
7 /DISCARD/ : { *(*) }
8 }
9
10 foo = LENGTH (code) != 8M ? test0 : test1;