diff options
Diffstat (limited to 'tests/run/classmanifests_new_alias.scala')
-rw-r--r-- | tests/run/classmanifests_new_alias.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/classmanifests_new_alias.scala b/tests/run/classmanifests_new_alias.scala new file mode 100644 index 000000000..38af0ede3 --- /dev/null +++ b/tests/run/classmanifests_new_alias.scala @@ -0,0 +1,7 @@ + +@deprecated("Suppress warnings", since="2.11") +object Test extends dotty.runtime.LegacyApp { + type CM[T] = ClassManifest[T] + println(implicitly[CM[Int]]) + println(implicitly[CM[Int]] eq Manifest.Int) +} |