aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/protected-static-fail/S.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/protected-static-fail/S.scala')
-rw-r--r--tests/untried/neg/protected-static-fail/S.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/neg/protected-static-fail/S.scala b/tests/untried/neg/protected-static-fail/S.scala
new file mode 100644
index 000000000..f9dd89d9d
--- /dev/null
+++ b/tests/untried/neg/protected-static-fail/S.scala
@@ -0,0 +1,10 @@
+package bippy
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ J.f()
+ S1.f1()
+ val x = new S2
+ x.f2()
+ }
+}