summaryrefslogtreecommitdiff
path: root/tests/parser/member-access-pointer.vala
blob: b3a0c5e4dac2b71d855759e2018bba07369c190c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct Foo {
	public int i;

	public void bar<G,T> (G g, T t) {
	}
}

void main () {
	Foo foo = { 42 };

	(&foo)->bar<int?, string> (23, "foo");
}