Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: syntax_w.asm1 0000 ; SYNTAX option "w":2 0000 ; w Warnings options: report warnings as errors3 00004 0000 ; verify regular syntax works as expected with default optionssyntax_w.asm(5): warning: value 0x1234 is truncated to 8bit value: 0x345 0000 3E 34 ld a,0x1234 ; warning about lost bytes6 0002 OPT push --syntax=w ; test the syntax option "w"syntax_w.asm(7): error: value 0x1234 is truncated to 8bit value: 0x347 0002 3E 34 ld a,0x1234 ; error about lost bytessyntax_w.asm(8): error: unknown warning id in -W option: unknown-id-warning-as-error8 0004 OPT -Wunknown-id-warning-as-error ; warning type W_PASS03 converted to error (test coverage++)9 0004 OPT pop ; test push+pop of new optionsyntax_w.asm(10): warning: value 0x1234 is truncated to 8bit value: 0x3410 0004 3E 34 ld a,0x1234 ; warning about lost bytes11 0006 ASSERT 2 == 2 && 2 == 212 0006# file closed: syntax_w.asmValue Label------ - -----------------------------------------------------------