Commit | Line | Data |
---|---|---|
a6f7924a HPN |
1 | # { dg-do assemble { target mmix-*-* } } |
2 | # Mostly like fb-2.s, but with LOCs to indeterminable sections | |
3 | # *different* to the one LOC'd from. Two cases are tested: an | |
4 | # undefined symbol and a section just indeterminable at the first pass | |
5 | # (at the point of the LOC). | |
6 | ||
7 | 1H IS 5 | |
8 | 0H LOC #10 | |
9 | 1H BYTE 1B | |
10 | 0H LOC 2F+#20+0F # { dg-error "indeterminable" "" } | |
11 | 0H IS 4 | |
12 | .section .text.unknown | |
13 | 2H SWYM | |
14 | 1H IS 50 | |
15 | 1H GREG 1B+1F | |
16 | SWYM | |
17 | 1H LDA $30,1B | |
18 | 1H OCTA 1B,1F | |
19 | LOC undefd # { dg-error "unknown" "" } | |
20 | 1H SWYM | |
21 | ||
22 | 9H IS 42 | |
23 | WYDE 9B,9F | |
24 | 9H IS 9B+1 | |
25 | WYDE 9B,9F | |
26 | 9H IS 9B+1 |