aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/super-cast-or-test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/super-cast-or-test.scala')
-rw-r--r--tests/untried/neg/super-cast-or-test.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/neg/super-cast-or-test.scala b/tests/untried/neg/super-cast-or-test.scala
new file mode 100644
index 000000000..a0f86d808
--- /dev/null
+++ b/tests/untried/neg/super-cast-or-test.scala
@@ -0,0 +1,3 @@
+trait A { def f = super.asInstanceOf[AnyRef] }
+trait B { def g = super.isInstanceOf[AnyRef] }
+