diff options
Diffstat (limited to 'tests/pos/t5877b.scala')
-rw-r--r-- | tests/pos/t5877b.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pos/t5877b.scala b/tests/pos/t5877b.scala new file mode 100644 index 000000000..43a2ea2f0 --- /dev/null +++ b/tests/pos/t5877b.scala @@ -0,0 +1,13 @@ +package foo + +class Foo + +object Test { + new Foo().huzzah +} + +object `package` { + implicit class EnrichedFoo2(value: Foo) { + def huzzah = "" + } +} |