Commit | Line | Data |
---|---|---|
05e6b315 HPN |
1 | ; { dg-do assemble } |
2 | ; { dg-options "--march=common_v10_v32 --em=criself" } | |
3 | ; { dg-error ".word offset handling is not implemented" "err for broken .word" { target cris-*-* } 0 } | |
4 | ||
5 | ; Tests that broken words don't crash, just give a message when | |
6 | ; in compatibility mode. | |
7 | ||
8 | sym2: moveq 0,r0 | |
9 | .word sym1 - sym2 | |
10 | moveq 1,r0 | |
11 | moveq 2,r0 | |
12 | .space 32766, 0 | |
13 | sym1: moveq 3,r0 | |
14 |