summaryrefslogtreecommitdiff
path: root/test/files/pos/t7315.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-03-30 10:02:34 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-03-30 10:02:34 +0100
commit660c8fd4c89c4f7121d131138c5f9fceaefa4992 (patch)
tree1b7f39c8a0d9a186df50b27dd71f9db55a8e1a7f /test/files/pos/t7315.scala
parent54d11fe5451a9f26207ce283f2df1114c89384dd (diff)
downloadscala-660c8fd4c89c4f7121d131138c5f9fceaefa4992.tar.gz
scala-660c8fd4c89c4f7121d131138c5f9fceaefa4992.tar.bz2
scala-660c8fd4c89c4f7121d131138c5f9fceaefa4992.zip
SI-7315 Test @deprecatedInheritance / @specialized interplay
Don't warn about the specialized subclass. Fixed in the previous commit for a similar issue SI-7312.
Diffstat (limited to 'test/files/pos/t7315.scala')
-rw-r--r--test/files/pos/t7315.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t7315.scala b/test/files/pos/t7315.scala
new file mode 100644
index 0000000000..0abcea2451
--- /dev/null
+++ b/test/files/pos/t7315.scala
@@ -0,0 +1,4 @@
+package scala.pack
+
+@deprecatedInheritance
+class C[@specialized A] \ No newline at end of file