diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index e0d216b07..bb0078a74 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -1831,11 +1831,6 @@ public class TestPrograms { assertError("invalid-consttype", "Constant variable has a non-matching type", false); } - @Test - public void testValueListError() throws IOException, URISyntaxException { - assertError("valuelist-error", "Value list not resolved to word constructor"); - } - @Test public void testArrayUninitialized() throws IOException, URISyntaxException { assertError("array-uninitialized", "Array has no declared size."); diff --git a/src/test/kc/typemismatch.kc b/src/test/kc/typemismatch.kc index d4d1f8b7c..d391e89a0 100644 --- a/src/test/kc/typemismatch.kc +++ b/src/test/kc/typemismatch.kc @@ -2,4 +2,6 @@ void main() { word w = 5000; byte b = w; + const byte* screen = 0x0400; + screen[0] = b; } \ No newline at end of file diff --git a/src/test/kc/valuelist-error.kc b/src/test/kc/valuelist-error.kc deleted file mode 100644 index 4463c8ebd..000000000 --- a/src/test/kc/valuelist-error.kc +++ /dev/null @@ -1,5 +0,0 @@ -void main() { - word w = { -1, -1}; - byte* screen = $400; - *screen =