1; Test that we get an error when directive does not match option.
2; Make sure we specify ELF so we don't get spurious failures when testing
3; a.out.
4
5; { dg-do assemble }
6; { dg-options "--no-underscore --em=criself" }
7
8	.syntax leading_underscore ; { dg-error ".* \.syntax leading_underscore requires .* `--underscore'" }
9start:
10	nop
11