summaryrefslogblamecommitdiff
path: root/test-nsc/files/pos/bug20.scala
blob: bdf33ef20daf84feabfb70ff8eb69854a471847d (plain) (tree)
1
2
3
4
5
6
7
8







                                                                         
object Exceptions {

    class CubeException(s: String) extends java.lang.RuntimeException(s);

    def main(args: Array[String]) =
        System.out.println(new CubeException("test"));

}