?login_element?

Subversion Repositories NedoOS

Rev

Rev 539 | 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 -Wunknown-id-warning-as-error   ; warning type W_PASS03 converted to error (test coverage++)
  9.     OPT pop             ; test push+pop of new option
  10.     ld      a,0x1234            ; warning about lost bytes
  11.     ASSERT _WARNINGS == 2 && _ERRORS == 2
  12.