Update test files, Add stdlib alloc
This commit is contained in:
parent
77d3bc638d
commit
eec2a2c96e
3
example/a.lang
Normal file
3
example/a.lang
Normal file
@ -0,0 +1,3 @@
|
||||
u8 a() {
|
||||
return 1u8;
|
||||
}
|
3
example/b.lang
Normal file
3
example/b.lang
Normal file
@ -0,0 +1,3 @@
|
||||
u8 b() {
|
||||
return a() + 1u8;
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
void doNothing() {
|
||||
u64 sus = 1u8;
|
||||
module sus;
|
||||
|
||||
(u8, u8) a() {
|
||||
return 1u8, 2u8;
|
||||
}
|
9
stdlib/alloc.lang
Normal file
9
stdlib/alloc.lang
Normal file
@ -0,0 +1,9 @@
|
||||
module alloc;
|
||||
|
||||
u64 alloc(u64 size) {
|
||||
return 0u64;
|
||||
}
|
||||
|
||||
void free(u64 address) {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user