Skip to content

Commit f581944

Browse files
committed
chore: add regression test for #23776
1 parent de18af4 commit f581944

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/run/i23776.check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a = 0, b = 1, c = 2

tests/run/i23776.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
inline def f(t0: Int, t1: Int, t2: Int) = {
2+
inline (t0, t1, t2) match {
3+
case (a: Int, b: Int, c: Int) => println(s"a = $a, b = $b, c = $c")
4+
}
5+
}
6+
7+
@main def Test = f(0, 1, 2)

0 commit comments

Comments
 (0)