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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.special/] [pr21115.java] - Blame information for rev 861

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

Line No. Rev Author Line
1 765 jeremybenn
public abstract class pr21115
2
{
3
  public static void main(String[] args) throws Exception
4
  {
5
    Class c = Class.forName("pr21115I");
6
    Object o = c.newInstance();
7
    pr21115 t = (pr21115) o;
8
    // Try to fill the stack with 0xff.
9
    t.test (0xffffffff, 0xffffffff,
10
            0xffffffff, 0xffffffff,
11
            0xffffffff, 0xffffffff,
12
            0xffffffff, 0xffffffff,
13
            0xffffffff, 0xffffffff);
14
    // Pass a bunch of false (0) values.
15
    if (t.test (false, false,
16
                false, false,
17
                false, false,
18
                false, false,
19
                false, false))
20
      System.out.println ("FAILED - expecting false return value.");
21
  }
22
 
23
  public abstract boolean test(boolean a, boolean b,
24
                               boolean c, boolean d,
25
                               boolean e, boolean f,
26
                               boolean g, boolean h,
27
                               boolean i, boolean j);
28
 
29
  public abstract boolean test(int a, int b,
30
                               int c, int d,
31
                               int e, int f,
32
                               int g, int h,
33
                               int i, int j);
34
}

powered by: WebSVN 2.1.0

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