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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [verify.java] - Rev 781

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

// Test for a verification regression.
 
interface I { }
class D implements I { }
class E extends D { }
 
public class verify
{
  static void call(I v) { }
 
  static void doit (Object x)
  {
    call ((x instanceof I) ? (I) x : new E ());
  }
 
  public static void main(String[] args)
  {
    doit(null);
  }
}
 

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

powered by: WebSVN 2.1.0

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