aboutsummaryrefslogtreecommitdiff
path: root/tests/run/classmanifests_new_core.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/classmanifests_new_core.scala')
-rw-r--r--tests/run/classmanifests_new_core.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run/classmanifests_new_core.scala b/tests/run/classmanifests_new_core.scala
new file mode 100644
index 000000000..a916b750c
--- /dev/null
+++ b/tests/run/classmanifests_new_core.scala
@@ -0,0 +1,5 @@
+@deprecated("Suppress warnings", since="2.11")
+object Test extends dotty.runtime.LegacyApp {
+ println(classManifest[Int])
+ println(classManifest[Int] eq Manifest.Int)
+}