blob: 2bd72f107064e478c0afedca5474e370ac938cb7 [file] [log] [blame]
! { dg-do assemble }
! { dg-options "--abi=32 -no-mix" }
! Check that we can't have different ISA:s in the same section if disallowed.
.text
.mode SHmedia
start:
nop
.mode SHcompact
nop ! { dg-error "not allowed in same section" }
.section .text.other,"ax"
.mode SHmedia
nop
.mode SHcompact
nop ! { dg-error "not allowed in same section" }
.section .text.more,"ax"
.mode SHmedia
nop
.section .text.yetmore,"ax"
.mode SHcompact
nop