Temporarily add test.bolt

This commit is contained in:
Sam Vervaeck 2020-05-30 11:35:14 +02:00
parent 5e7b344e49
commit 87717b7156

20
test.bolt Normal file
View file

@ -0,0 +1,20 @@
struct int;
impl int {
fn fac(self) -> int {
return match n {
0 => 1,
_ => n * fac(n-1),
}
}
}
// This is wrong
fac();
// This is also wrong
fac("FOO");