830ded78dd916d6f505e1909f8faaef8ca25b4c0
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / pr18963.t
1 SECTIONS
2 {
3 . = 0x80000;
4 A = .;
5 .text :
6 {
7 _start = .;
8 *(.text)
9 . = 0x10000;
10 }
11 B = .;
12 .data :
13 {
14 *(.data)
15 . = 0x10000;
16 }
17 C = .;
18 .bss :
19 {
20 *(.bss)
21 . = 0x10000;
22 }
23 D = A - C + B;
24 E = A + B - C;
25 /DISCARD/ : {*(*)}
26 }
27
28 ASSERT(D == E, "Addition is not commutative");
This page took 0.0315260000000001 seconds and 4 git commands to generate.