summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/cris/us-err-2.s
blob: d6d95618e88094590743ebe6de64366a2e08acdc (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 "--underscore" }

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