Skip to content

Commit fab746c

Browse files
committed
Add tests
1 parent 511caeb commit fab746c

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

tests/run/i5350b.check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello

tests/run/i5350b.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
object Test {
2+
def foo: Unit = {
3+
object bar { println("Hello") }
4+
bar
5+
}
6+
7+
def main(args: Array[String]): Unit = {
8+
foo
9+
}
10+
}

tests/run/i5350c.check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello

tests/run/i5350c.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
object Test {
2+
def foo: Unit = {
3+
bar
4+
}
5+
6+
def main(args: Array[String]): Unit = {
7+
foo
8+
}
9+
}
10+
object bar { println("Hello") }

0 commit comments

Comments
 (0)