1;# Test .error directive. 2;# { dg-do assemble } 3 .error "an error message" ;# { dg-error "Error: an error message" } 4 .error an error message ;# { dg-error "Error: .error argument must be a string" } 5 .error ;# { dg-error "Error: .error directive invoked in source file" } 6 .error ".error directive invoked in source file" ;# { dg-error "Error: .error directive invoked in source file" } 7 .error "" ;# { dg-error "Error: " } 8