1# mach: m32r m32rx
2# xerror:
3# output: *misaligned read*
4
5	.include "testutils.inc"
6
7	start
8
9; construct bra trap2_handler in trap 2 slot
10	ld24 r0,#foo+1
11	ldh r0,@r0
12	fail
13	exit 0
14
15.data
16	.p2align 2
17foo:
18	.short 42
19