Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky authored and smarter committed Oct 11, 2016
1 parent 8067b95 commit ba18173
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/pos/orinf.scala
@@ -0,0 +1,6 @@
object Test {

def foo(lis: scala.collection.immutable.Set[Int] | scala.collection.immutable.Set[String]) = lis
foo(Set(1))
foo(Set(""))
}

0 comments on commit ba18173

Please sign in to comment.