OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [Divide_2.java] - Blame information for rev 781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class Divide_2
2
{
3
  static void poo()
4
  {
5
    int n = 4/0;
6
  }
7
  public static void main(String[] argv)
8
  {
9
    try
10
      {
11
        poo();
12
      }
13
    catch (ArithmeticException _)
14
      {
15
        return;
16
      }
17
 
18
    throw new RuntimeException();
19
  }
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.