1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00

Updated print test reference data.

This commit is contained in:
jespergravgaard 2017-12-03 22:59:25 +01:00
parent e18a8cb7d8
commit 80d5f2bf9d
4 changed files with 353 additions and 256 deletions

View File

@ -56,7 +56,7 @@ public class TestPrograms extends TestCase {
compileAndCompare("print-problem");
}
public void testPrint() throws IOException, URISyntaxException {
public void testPrintMsg() throws IOException, URISyntaxException {
compileAndCompare("printmsg");
}

View File

@ -1,13 +1,13 @@
@begin: scope:[] from
[0] phi() [ ] ( )
to:@3
@3: scope:[] from @begin
to:@6
@6: scope:[] from @begin
[1] phi() [ ] ( )
[2] call main param-assignment [ ] ( )
to:@end
@end: scope:[] from @3
@end: scope:[] from @6
[3] phi() [ ] ( )
main: scope:[main] from @3
main: scope:[main] from @6
[4] phi() [ ] ( main:2 [ ] )
[5] call print_str param-assignment [ char_cursor#13 ] ( main:2 [ char_cursor#13 ] )
to:main::@1

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
(label) @3
(label) @6
(label) @begin
(label) @end
(byte*) char_cursor