Remove garbage 'test.bolt' from repository
This commit is contained in:
parent
faaf6327ad
commit
f90418015d
1 changed files with 0 additions and 20 deletions
20
test.bolt
20
test.bolt
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
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");
|
|
||||||
|
|
Loading…
Reference in a new issue