Skip to content

Commit 4fc883a

Browse files
committed
Fix scala#6341: Add test case
1 parent 311b851 commit 4fc883a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/run-with-compiler/Test.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
object Test {
2+
class Config(val t1: Int)
3+
4+
inline def m(t2: Int) = t2
5+
6+
m(new Config(3).t1)
7+
}

0 commit comments

Comments
 (0)