gtk+-4.0: Change type of Gdk.Key.* constants to uint
[vala-gnome.git] / tests / objects / bug778632.vala
blobcd788016819b86a177b359d2b336e7b2843f4f6c
1 class Foo : Object {
2 public signal void bar (int[,,] a);
4 public void bar_emit () {
5 int[2,3,2] a = {{{1, 2}, {3, 4}, {5, 6}}, {{7, 8}, {9, 10}, {11, 12}}};
6 bar (a);
10 void bar_callback (int[,,] a) {
11 assert (a.length[0] == 2);
12 assert (a.length[1] == 3);
13 assert (a.length[2] == 2);
14 assert (a[0,2,0] == 5);
15 assert (a[1,2,1] == 12);
18 void main () {
19 var foo = new Foo ();
20 foo.bar.connect (bar_callback);
21 foo.bar_emit ();