Skip to content

Commit c46cf9a

Browse files
committed
Add test
1 parent 59350a7 commit c46cf9a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

tests/run/i3000b.check

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Foo$$anon$1
2+
bar.Bar$$anon$2

tests/run/i3000b.scala

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
object Test {
2+
def main(args: Array[String]): Unit = {
3+
new Foo
4+
new bar.Bar
5+
}
6+
}
7+
8+
class Foo {
9+
new Object { println(this.getClass.getName) }
10+
}
11+
12+
package bar {
13+
package baz { }
14+
class Bar {
15+
new Object { println(this.getClass.getName) }
16+
}
17+
package quxx { }
18+
}

0 commit comments

Comments
 (0)