aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld.scripts/defined.t
blob: d1e4748c0e14054273855285772a230609fc1348 (plain)
1
2
3
4
5
SECTIONS {
	.text : { *(.text) }
}
value1 = DEFINED (defined) ? 1 : 2;
value2 = DEFINED (undefined) ? 1 : 2;