diff options
author | David Phillips <david@sighup.nz> | 2019-08-11 17:22:20 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-11 17:22:20 +1200 |
commit | 2d2628df0001d2b643811dc69717c4afe70c4e31 (patch) | |
tree | f5d0da23c47c3e677ca423a91838c5ad5467a5d9 /test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm | |
parent | 0e6f47211a0516cf2c96d2b9e89c0d841978c143 (diff) | |
download | toy-cpu-assembler-2d2628df0001d2b643811dc69717c4afe70c4e31.tar.xz |
Fix and add tests for NULL deref cases found by scan-build
Diffstat (limited to 'test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm')
-rw-r--r-- | test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm b/test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm new file mode 100644 index 0000000..5592edd --- /dev/null +++ b/test/full-pipeline/should-pass/009-3-inst-5-words-rev.asm @@ -0,0 +1,3 @@ +nop +jmp 0 +jmp 0 |