summaryrefslogtreecommitdiff
path: root/tests/objects/bug795521.vala
blob: e1acc608d9dcf3a10d2640ff280178a9cada3130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
class Foo {
	[CCode (cname = "faz")]
	public int foo;
	[CCode (cname = "baz")]
	public class int boo;
	[CCode (cname = "maz")]
	public static int moo;

	public int foor;
	public class int boor;
	public static int moor;

	public int foop { get; set; }

	public void use () {
		lock (foo) {
		}

		lock (boo) {
		}

		lock (moo) {
		}

		lock (foor) {
		}

		lock (boor) {
		}

		lock (moor) {
		}

		lock (foop) {
		}
	}
}

void main () {
}