summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-12-12 16:18:13 +0100
committerLuca Bruno <lucabru@src.gnome.org>2014-12-12 16:18:13 +0100
commit236cf0890d8b9032a3ec5f1b104167435d191e1a (patch)
tree3e486b7b298d8aeadedc6c051ee88313423d29a6
parent50222da1622de0039fc812624253f85f474d80d4 (diff)
downloadvala-236cf0890d8b9032a3ec5f1b104167435d191e1a.tar.gz
Add trivial test for the previous commit
-rw-r--r--tests/basic-types/integers.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic-types/integers.vala b/tests/basic-types/integers.vala
index d9ff8903d..40eebfae6 100644
--- a/tests/basic-types/integers.vala
+++ b/tests/basic-types/integers.vala
@@ -1,3 +1,5 @@
+int static_negative_int = -1;
+
void test_int () {
// declaration and initialization
int i = 42;