summaryrefslogtreecommitdiff
path: root/tests/structs
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-08-07 21:05:33 +0200
committerLuca Bruno <lucabru@src.gnome.org>2011-08-11 10:31:42 +0200
commit3e76339945e23115b40231e8bbeb5d1998d1be70 (patch)
treeb07c2a02c509036e1693b6610632b9bfb0f6420e /tests/structs
parentcd8ff5d711649552b1777274bdc367cf8290628e (diff)
downloadvala-3e76339945e23115b40231e8bbeb5d1998d1be70.tar.gz
Set the type of initializer lists to be non-nullable
Diffstat (limited to 'tests/structs')
-rw-r--r--tests/structs/structs.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/structs/structs.vala b/tests/structs/structs.vala
index 2a5c06c47..2e4ed7cb7 100644
--- a/tests/structs/structs.vala
+++ b/tests/structs/structs.vala
@@ -68,6 +68,7 @@ void main () {
stdout.printf ("simple_struct.field = %d\n", simple_struct.field);
test_in_parameter (simple_struct);
+ test_in_parameter ({1});
test_in_nullable_parameter (simple_struct);
test_ref_parameter (ref simple_struct);
stdout.printf ("after test_ref_parameter: st.field = %d\n", simple_struct.field);