Skip to content

Commit b0b4a56

Browse files
committed
Add test code for scala#9392
1 parent 76d9eb7 commit b0b4a56

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/pos/i9392/J.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class J {
2+
int i = 0;
3+
int i() { return 1; }
4+
}

tests/pos/i9392/S.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class S extends J {
2+
override def i(): Int = 2
3+
}

0 commit comments

Comments
 (0)