aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t0020.scala
blob: 4f1e5b1732a9cbb2ff9c202585a8f799fa3cb4e8 (plain) (tree)
1
2
3
4
5
6
7
8







                                                               
object Exceptions {

    class CubeException(s: String) extends RuntimeException(s);

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

}