Your IP : 216.73.216.40


Current Path : /var/www/html/kamini/gcc-4.8.2/libjava/testsuite/libjava.lang/
Upload File :
Current File : /var/www/html/kamini/gcc-4.8.2/libjava/testsuite/libjava.lang/Overflow.java

class Overflow
{
  static int test(int x)
  {
    return (2*x)/2;
  }

  public static void main(String argv[])
  {
    int x = Integer.MAX_VALUE;

    if (test(x) == x)
      throw new RuntimeException ();
  }
}