summaryrefslogtreecommitdiff
path: root/test/files/run/deprecate-early-type-defs.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/deprecate-early-type-defs.check')
-rw-r--r--test/files/run/deprecate-early-type-defs.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/deprecate-early-type-defs.check b/test/files/run/deprecate-early-type-defs.check
new file mode 100644
index 0000000000..1ee01df13e
--- /dev/null
+++ b/test/files/run/deprecate-early-type-defs.check
@@ -0,0 +1,3 @@
+deprecate-early-type-defs.scala:1: warning: early type members are deprecated. Move them to the regular body: the semantics are the same.
+object Test extends { type T = Int } with App
+ ^