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