diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-03-30 10:02:34 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-03-30 10:02:34 +0100 |
commit | 660c8fd4c89c4f7121d131138c5f9fceaefa4992 (patch) | |
tree | 1b7f39c8a0d9a186df50b27dd71f9db55a8e1a7f | |
parent | 54d11fe5451a9f26207ce283f2df1114c89384dd (diff) | |
download | scala-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.
-rw-r--r-- | test/files/pos/t7315.flags | 1 | ||||
-rw-r--r-- | test/files/pos/t7315.scala | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t7315.flags b/test/files/pos/t7315.flags new file mode 100644 index 0000000000..d1b831ea87 --- /dev/null +++ b/test/files/pos/t7315.flags @@ -0,0 +1 @@ +-deprecation -Xfatal-warnings
\ No newline at end of file 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 |