?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     ; check warnings counting
  2.     IF label : ENDIF    ; emit forward-reference warning
  3.     ; turn warnings into errors and check errors counting
  4.     OPT --syntax=w
  5.     IF label : ENDIF    ; emit forward-reference error
  6. label:
  7.     ASSERT 1 == __WARNINGS__ && 1 == __ERRORS__
  8.  
  9. ; extra note: when I initially tried to add also pass3 error/warning (to make sure
  10. ; they are not affected by changing code), it did fix the bug, so the test does only
  11. ; pass1 warning/errors, don't extend it
  12.