Skip to content

Commit ff4a4d6

Browse files
committed
WIP add failing test
1 parent 94987ea commit ff4a4d6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/neg/i5188.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
object Test {
2+
inline def sum(inline args: Int*): Int = 0
3+
4+
val a: Int = 1
5+
sum(
6+
1,
7+
a, // error
8+
3)
9+
10+
}

0 commit comments

Comments
 (0)