blob: 53333c8754252d5db619d7d81b00b2c6765c991e (
plain)
1
2
3
4
5
6
7
8
9
10
|
public aspect X4 {
declare parents: Sub4 extends Super4;
public static void main(String []argv) {
Super4 s = new Sub4();
Integer i = (Integer)s.m();
if (i!=42) throw new RuntimeException("Should be 42 but is "+i);
}
}
|