1# { dg-do assemble { target xtensa*-*-* } }
2	.text
3	.global foo
4	beqz	a2, 1f@pcrel	# { dg-error "relocation not allowed" "" }
51:	movi	a2, foo@pcrel	# { dg-error "relocation not allowed" "" }
6foo:	.short	foo@pcrel	# { dg-error "relocations do not fit" "" }
7