mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-26 18:29:54 +00:00
Fixed problem with auto-casting parameters. Closes #299
This commit is contained in:
parent
541b92c55b
commit
3ad844ada1
@ -1289,19 +1289,15 @@ public class TestProgramsFast extends TestPrograms {
|
||||
compileAndCompare("string-pointer-problem.c");
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testZpCode() throws IOException {
|
||||
compileAndCompare("examples/c64/zpcode/zpcode.c");
|
||||
}
|
||||
|
||||
// Fix parameter type problem - https://gitlab.com/camelot/kickc/issues/299
|
||||
/*
|
||||
@Test
|
||||
public void testParameterAutocastWrong() throws IOException {
|
||||
compileAndCompare("parameter-autocast-wrong.c");
|
||||
assertError("parameter-autocast-wrong.c", "Parameters type mismatch in call");
|
||||
}
|
||||
*/
|
||||
|
||||
@Test
|
||||
public void testConstBool0() throws IOException {
|
||||
|
@ -1,5 +1,4 @@
|
||||
// Illustrates problem with wrong autocasting of parameters
|
||||
// Program wrongly reports Unknown fragment error - while it should have reported type problem (char != char*)
|
||||
// Illustrates problem with wrong type of parameters
|
||||
|
||||
char message[] = "CHAO0029 OPERATING SYSTEM STARTING...";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user