Skip to content

Commit 400183e

Browse files
Backport "chore: add regression test for #23776" to 3.7.4 (#23986)
Backports #23782 to the 3.7.4. PR submitted by the release tooling. [skip ci]
2 parents 1cfdf79 + b779a87 commit 400183e

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)