diff options
Diffstat (limited to 'test/files/pos/bug946.scala')
-rwxr-xr-x | test/files/pos/bug946.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug946.scala b/test/files/pos/bug946.scala new file mode 100755 index 0000000000..c4bd6e9ba4 --- /dev/null +++ b/test/files/pos/bug946.scala @@ -0,0 +1,8 @@ +object pmbugbounds { + trait Bar + class Foo[t <: Bar] {} + + (new Foo[Bar]) match { + case _ : Foo[x] => null + } +} |