From 2d2628df0001d2b643811dc69717c4afe70c4e31 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 11 Aug 2019 17:22:20 +1200 Subject: Fix and add tests for NULL deref cases found by scan-build --- test/full-pipeline/should-pass/004-itype.asm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/full-pipeline/should-pass/004-itype.asm (limited to 'test/full-pipeline/should-pass/004-itype.asm') diff --git a/test/full-pipeline/should-pass/004-itype.asm b/test/full-pipeline/should-pass/004-itype.asm new file mode 100644 index 0000000..4fbc032 --- /dev/null +++ b/test/full-pipeline/should-pass/004-itype.asm @@ -0,0 +1,5 @@ +; Test for some sort of parity between pseudo instructions for itypes +ldi $0, 1234 +ldi $1, 0x1234 +ldi $1, 1 +ldi $1, 10 -- cgit v1.1