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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Class inner4
2
// Generated on Tue Dec  7 11:43:48 PST 1999
3
//
4
 
5
class inner4 {
6
    static private int xyz () { return 3; }
7
    private String f;
8
 
9
    String p () {
10
        return "public String p()";
11
    }
12
 
13
    private String pp (int x, byte y, char c) {
14
        return "private String pp("+x+", "+y+", "+c+")";
15
    }
16
 
17
    void foo () {
18
        t xxx = this.new t();
19
        xxx.bar ();
20
        pp (3, (byte)34, 'C');
21
    }
22
    public static void main (String[] arg)
23
    {
24
        System.out.println ("Testing class `inner4'...");
25
        new inner4().foo();
26
    }
27
    class t {
28
        void bar () {
29
            System.out.println (p ());
30
            System.out.println (pp (3, (byte)34, 'C'));
31
            System.out.println (xyz ());
32
        }
33
    }
34
}

powered by: WebSVN 2.1.0

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