?login_element?

Subversion Repositories NedoOS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

  1. ; SYNTAX option "w":
  2. ;   w      Warnings options: report warnings as errors
  3.  
  4. ; verify regular syntax works as expected with default options
  5.     ld      a,0x1234            ; warning about lost bytes
  6.     OPT push --syntax=w ; test the syntax option "w"
  7.     ld      a,0x1234            ; error about lost bytes
  8.     OPT pop             ; test push+pop of new option
  9.     ld      a,0x1234            ; warning about lost bytes
  10.     ASSERT _WARNINGS == 2 && _ERRORS == 1
  11.