~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/all/warn-1.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: " }