Retro68/binutils/ld/testsuite/ld-scripts/defined.t
2012-03-26 21:18:29 +02:00

8 lines
161 B
Raku

SECTIONS {
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss) *(COMMON) }
}
value1 = DEFINED (defined) ? 1 : 2;
value2 = DEFINED (undefined) ? 1 : 2;