diff options
Diffstat (limited to 'test/files/neg/bug1960.scala')
-rw-r--r-- | test/files/neg/bug1960.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/bug1960.scala b/test/files/neg/bug1960.scala new file mode 100644 index 0000000000..b381e9df23 --- /dev/null +++ b/test/files/neg/bug1960.scala @@ -0,0 +1,5 @@ +object ClassFormatErrorExample extends Application { new Aclass(1) } + +trait TBase { var p:Int = 0; def f(p1: Int) {} } + +class Aclass (p: Int) extends TBase { def g{ f(p) } } |