Retro68/gcc/libjava/testsuite/libjava.lang/Divide_2.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

21 lines
250 B
Java

public class Divide_2
{
static void poo()
{
int n = 4/0;
}
public static void main(String[] argv)
{
try
{
poo();
}
catch (ArithmeticException _)
{
return;
}
throw new RuntimeException();
}
}