diff options
Diffstat (limited to 'test/files/neg/t8700b/Bar_2.scala')
-rw-r--r-- | test/files/neg/t8700b/Bar_2.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t8700b/Bar_2.scala b/test/files/neg/t8700b/Bar_2.scala new file mode 100644 index 0000000000..97ba16df27 --- /dev/null +++ b/test/files/neg/t8700b/Bar_2.scala @@ -0,0 +1,9 @@ +object Bar { + def bar1(foo: Foo_1) = foo match { + case Foo_1.A => 1 + } + + def bar2(foo: Baz_1) = foo match { + case Baz_1.A => 1 + } +} |