Commit | Line | Data |
---|---|---|
05e6b315 | 1 | ; { dg-do assemble } |
9e1373d5 | 2 | ; { dg-options " --underscore --march=common_v10_v32 --em=criself" } |
05e6b315 HPN |
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 |