summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/cris/us-err-3.s
blob: 54ff9f3037b1767858a4595c6470b487b039a09e (plain)
1
2
3
4
5
6
7
8
9
10
; Test that we get an error when directive does not match option.
; Make sure we specify ELF so we don't get spurious failures when testing
; a.out.

; { dg-do assemble }
; { dg-options "--no-underscore --em=criself" }

	.syntax leading_underscore ; { dg-error ".* \.syntax leading_underscore requires .* `--underscore'" }
start:
	nop