1; Test error messages in instances where an insn of a particular size
2; is required.
3
4; { dg-do assemble { target m32r-*-* } }
5
6wrongsize:
7	cmpi r8,#10 -> ldi r0,#8  ; { dg-error "not a 16 bit instruction" }
8	ldi r0,#8 -> cmpi r8,#10  ; { dg-error "not a 16 bit instruction" }
9	cmpi r8,#10 || ldi r0,#8  ; { dg-error "not a 16 bit instruction" }
10	ldi r0,#8 || cmpi r8,#10  ; { dg-error "not a 16 bit instruction" }
11