From 7ec024951951b22afa3b074a921e40fcebb2b361 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 6 Apr 2011 04:33:46 +0000 Subject: Misc cleanups and crash avoidance, no review. --- test/files/neg/super-cast-or-test.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/neg/super-cast-or-test.scala (limited to 'test/files/neg/super-cast-or-test.scala') 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] } + -- cgit v1.2.3