summaryrefslogtreecommitdiff
path: root/test/files/neg/t6162-inheritance.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6162-inheritance.scala')
-rw-r--r--test/files/neg/t6162-inheritance.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6162-inheritance.scala b/test/files/neg/t6162-inheritance.scala
new file mode 100644
index 0000000000..67bd4466c3
--- /dev/null
+++ b/test/files/neg/t6162-inheritance.scala
@@ -0,0 +1,4 @@
+@deprecatedInheritance("`Foo` will be made final in a future version.", "2.10.0")
+class Foo
+
+class SubFoo extends Foo \ No newline at end of file