summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/vala/70303-nullable.vala
blob: 54c246433d58787c721ec38a82729d3a83f4a41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Vector2? a;
Vector2 b;

void G()
{
	int? x = true ? null : (int?)2;
	var q = x == null ? y : z;
	var q2 = x == q ? y : z;
	var q3 = x == null ? (y = new Y()) : z;
	var q4 = x == q ? (y = new Y()) : z;

	var q5 = x == null ? y = new Y() : z;
	var q6 = x == q ? y = new Y() : z;
}