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