OSDN Git Service

* langhooks.c (lhd_tree_inlining_add_pending_fn_decls,
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / Overflow.java
1 class Overflow
2 {
3   static int test(int x)
4   {
5     return (2*x)/2;
6   }
7
8   public static void main(String argv[])
9   {
10     int x = Integer.MAX_VALUE;
11
12     if (test(x) == x)
13       throw new RuntimeException ();
14   }
15 }
16