aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/not-testable/t5954c/A_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/not-testable/t5954c/A_1.scala')
-rw-r--r--tests/disabled/not-testable/t5954c/A_1.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/disabled/not-testable/t5954c/A_1.scala b/tests/disabled/not-testable/t5954c/A_1.scala
new file mode 100644
index 000000000..29ad9547a
--- /dev/null
+++ b/tests/disabled/not-testable/t5954c/A_1.scala
@@ -0,0 +1,18 @@
+package object A {
+ // these used to should be prevented by the implementation restriction
+ // but are now allowed
+ class B
+ object B
+ trait C
+ object C
+ case class D()
+ // all the rest of these should be ok
+ class E
+ object F
+ val g = "omg"
+ var h = "wtf"
+ def i = "lol"
+ type j = String
+ class K(val k : Int) extends AnyVal
+ implicit class L(val l : Int)
+}