diff options
Diffstat (limited to 'tests/pos/privates.scala')
-rw-r--r-- | tests/pos/privates.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/privates.scala b/tests/pos/privates.scala new file mode 100644 index 000000000..edaa10cb6 --- /dev/null +++ b/tests/pos/privates.scala @@ -0,0 +1,9 @@ +trait Test { + + private val x = 2 + + private def foo() = x * x + + private def bar() = foo() + +} |