summaryrefslogtreecommitdiff
path: root/test/files/neg/t0842.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0842.scala')
-rwxr-xr-xtest/files/neg/t0842.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/t0842.scala b/test/files/neg/t0842.scala
new file mode 100755
index 0000000000..f32c2ba26d
--- /dev/null
+++ b/test/files/neg/t0842.scala
@@ -0,0 +1 @@
+trait A[T] { def m: this.type[T] = this }