package unit.issues;

class Issue5110 extends Test {
	public function test() {
#if cs
		var lst:List<Int> = cast new cs.system.collections.generic.List_1<Int>();
		eq(lst.get_Item(0), 0);
#end
	}
}

#if cs
private abstract List<T>(cs.system.collections.generic.List_1<T>) {
    public function get_Item(n:Int):T {
        return this.get_Item(n);
    }
}
#end
