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 "--underscore" } 7 8 .syntax no_leading_underscore ; { dg-error ".* \.syntax no_leading_underscore requires .* `--no-underscore'" } 9 start: 10 nop 11