binutils-gdb/ld/testsuite/ld-scripts/assert.t
Nathan Sidwell b6ca8815ef * ldgram.y (statement_anywhere): Add assert rule.
* ldlang.c (exp_init_os): Add assert case.
	* testsuite/ld-scripts/assert.{s,t,exp}: New.
2004-02-18 16:37:21 +00:00

6 lines
76 B
Raku

SECTIONS
{
.empty : {}
ASSERT (!SIZEOF(.empty), "Empty is not empty")
}