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/asm/should-fail/001-segfault-li-comma-end.asm | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/asm/should-fail/001-segfault-li-comma-end.asm (limited to 'test/asm/should-fail/001-segfault-li-comma-end.asm') diff --git a/test/asm/should-fail/001-segfault-li-comma-end.asm b/test/asm/should-fail/001-segfault-li-comma-end.asm new file mode 100644 index 0000000..bde586c --- /dev/null +++ b/test/asm/should-fail/001-segfault-li-comma-end.asm @@ -0,0 +1,2 @@ +; Test for bug previously found with scan-build. Important: no CR/LF at EOF +ldi $1, \ No newline at end of file -- cgit v1.1