aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/i2030.scala
blob: 2d049f4e6db2712d5ea56d45c2706dcd8c7877fa (plain) (tree)
1
2
3
4
5




                                                   
// This used to take ~12s, the check should be that
// it runs in reasonable time (i.e. instantaneous).
object a {
   val x: String | Int = 'a // error
}