source: trunk/gcc/libjava/testsuite/libjava.compile/invokeinterface/Test.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 251 bytes
Line 
1public class Test implements B
2{
3 public static void main(String args[])
4 {
5 Test t = new Test();
6 B a = (B) t;
7 a.a();
8 }
9
10 public void a()
11 {
12 System.out.println("A");
13 }
14
15 public void b()
16 {
17 System.out.println("B");
18 }
19}
Note: See TracBrowser for help on using the repository browser.