Skip to content

Commit 357509a

Browse files
committed
test case for #7248
1 parent 8d38d3a commit 357509a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/neg/i7248.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object Test extends App {
2+
given f[H](given h: H): H = h
3+
summon[Int] // error
4+
}

0 commit comments

Comments
 (0)