summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr112476/case1/weaved/SuperC.java
blob: f2e1b037607ea36181087cfc96378363d3f33709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package weaved;

import lib.B;
import lib.C;

public class SuperC extends B {

	public SuperC(String s) {
		super(s);
	}
	
	public static void main(String[] args) {
		C c = new C("test");
		System.out.println("Is ["+C.class+"] subcass of ["+SuperC.class+"]? "+(SuperC.class.isAssignableFrom(c.getClass())));
	}

}