diff options
Diffstat (limited to 'test/files/neg/super-cast-or-test.scala')
-rw-r--r-- | test/files/neg/super-cast-or-test.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/super-cast-or-test.scala b/test/files/neg/super-cast-or-test.scala new file mode 100644 index 0000000000..a0f86d8081 --- /dev/null +++ b/test/files/neg/super-cast-or-test.scala @@ -0,0 +1,3 @@ +trait A { def f = super.asInstanceOf[AnyRef] } +trait B { def g = super.isInstanceOf[AnyRef] } + |