add tests for known bugs

This commit is contained in:
gluax 2022-06-02 09:37:55 -07:00
parent 53e5dfbb02
commit af0e0da6b7
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,10 @@
/*
namespace: Compile
expectation: Fail
input_file: inputs/dummy.in
*/
function main(y: bool) -> bool {
let b: u8 = b;
return y == true;
}

View File

@ -0,0 +1,6 @@
/*
namespace: Compile
expectation: Fail
*/
function main() -> u8 {}

View File

@ -0,0 +1,10 @@
/*
namespace: Compile
expectation: Fail
input_file: inputs/dummy.in
*/
function main(k: bool) -> bool {
let b: u8 = 1u8**z;
return k == true;
}

View File

@ -0,0 +1,10 @@
/*
namespace: Compile
expectation: Fail
input_file: inputs/dummy.in
*/
function main(k: bool) -> bool {
let b: u8 = x*z;
return k == true;
}