2 // Generated on Fri Feb 4 20:23:47 PST 2000
3 // A somewhat thorough test of function invocator generated stubs.
9 void OK () {System
.out
.println (ok
);}
10 void OK (int i
) {System
.out
.println (ok
+" "+i
);}
11 static void testOK () {System
.out
.println ("OK");}
12 static void testOK (int i
) {System
.out
.println ("OK "+i
); }
14 // STATIC PRIVATE R_VALUE ARGS
18 static void t2 () {testOK();}
20 private void t3 () {OK();}
22 static private void t4 () {testOK();}
26 static int t6 () {return 6;}
28 private int t7 () {return 7;}
30 static private int t8 () {return 8;}
33 void t9 (int i
) {OK(i
);}
35 static void t10 (int i
) {testOK(i
);}
37 private void t11 (int i
) {OK(i
);}
39 static private void t12 (int i
) {testOK(i
);}
41 int t13 (int i
) {return i
*2;}
43 static int t14 (int i
) {return i
*3;}
45 private int t15 (int i
) {return i
*4;}
47 static private int t16 (int i
) {return i
*5;}
51 this.new bar ().test ();
60 System
.out
.println (t5());
61 System
.out
.println (t6());
62 System
.out
.println (t7());
63 System
.out
.println (t8());
68 System
.out
.println (t13(13));
69 System
.out
.println (t14(14));
70 System
.out
.println (t15(15));
71 System
.out
.println (t16(16));
72 this.new baz ().test ();
81 System
.out
.println (t5());
82 System
.out
.println (t6());
83 System
.out
.println (t7());
84 System
.out
.println (t8());
89 System
.out
.println (t13(13));
90 System
.out
.println (t14(14));
91 System
.out
.println (t15(15));
92 System
.out
.println (t16(16));
96 public static void main (String
[] arg
)
98 System
.out
.println ("Testing class `stub'...");