summaryrefslogblamecommitdiff
path: root/test/files/pos/t3570.scala
blob: 8921f83b2a6ebc7d2b8daf4cc9191981c60d9c36 (plain) (tree)
1
2
3
4
5
6
7






                                                         
class test {
	object Break extends Throwable
	def break = throw Break
	def block(x: => Unit) {
		try { x } catch { case e: Break.type => }
	}
}