summaryrefslogtreecommitdiff
path: root/tests/objects/bug646792.vala
blob: e881a52b2d14f0f024fa8c16ad0922452962846c (plain)
1
2
3
4
5
6
7
8
9
10
public class Wrapper<G> {
	public G item;
	public G *ptr;
}

void main () {
	var item = new Wrapper<Wrapper<string>> ();
	Wrapper<string> inner_item = item.item;
	Wrapper<string> *inner_ptr = item.ptr;
}