Skip to content

Commit 0177f20

Browse files
committed
📝 add test for previously introduced bugfix
1 parent 0c2a735 commit 0177f20

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
--PROGRAM--
2+
fn foo(bar) {
3+
let bar = bar + 1; // this used to produce an error in an older version
4+
}
5+
6+
foo(5);
7+
print("ok");
8+
--EXPECT--
9+
ok

0 commit comments

Comments
 (0)