diff options
Diffstat (limited to 'tests/untried/neg/protected-static-fail/S0.scala')
-rw-r--r-- | tests/untried/neg/protected-static-fail/S0.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/neg/protected-static-fail/S0.scala b/tests/untried/neg/protected-static-fail/S0.scala new file mode 100644 index 000000000..93a7bd91a --- /dev/null +++ b/tests/untried/neg/protected-static-fail/S0.scala @@ -0,0 +1,9 @@ +package bippy + +object S1 { + protected def f1() = "hi mom" +} + +class S2 { + protected def f2() = "hi mom" +} |