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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 765 jeremybenn
// Test for a verification regression.
2
 
3
interface I { }
4
class D implements I { }
5
class E extends D { }
6
 
7
public class verify
8
{
9
  static void call(I v) { }
10
 
11
  static void doit (Object x)
12
  {
13
    call ((x instanceof I) ? (I) x : new E ());
14
  }
15
 
16
  public static void main(String[] args)
17
  {
18
    doit(null);
19
  }
20
}

powered by: WebSVN 2.1.0

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