summaryrefslogtreecommitdiff
path: root/test/files/neg/static-annot.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/static-annot.scala')
-rw-r--r--test/files/neg/static-annot.scala6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/files/neg/static-annot.scala b/test/files/neg/static-annot.scala
index c0b5ed30d8..c6c626d42b 100644
--- a/test/files/neg/static-annot.scala
+++ b/test/files/neg/static-annot.scala
@@ -45,9 +45,3 @@ class PrivateProtectedLazy {
println(PrivateProtectedLazy.baz)
println(PrivateProtectedLazy.bam)
}
-
-
-class StaticDef {
- // this should not crash the compiler
- @static def x = 42
-}