Skip to content

Commit a1a92a5

Browse files
committed
test case for #7248
1 parent 4651177 commit a1a92a5

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)