summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-10-02 23:46:29 +0200
committerJürg Billeter <j@bitron.ch>2009-10-02 23:46:29 +0200
commit2dda5192f775543bbd49494934f4d5c54cd45af1 (patch)
treeb5e9324d882c14d360ac0e6e789d8a2d46d513d6 /tests
parent8b0431b4d115af68f07a7eadc6867333d700b2ad (diff)
downloadvala-2dda5192f775543bbd49494934f4d5c54cd45af1.tar.gz
Fix generated code for stack-allocated arrays
Fixes bug 595751.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/basic-types/bug595751.vala3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index eb19c7fbd..d18a99334 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -20,6 +20,7 @@ TESTS = \
basic-types/strings.vala \
basic-types/arrays.vala \
basic-types/pointers.vala \
+ basic-types/bug595751.vala \
basic-types/bug596637.vala \
basic-types/bug596785.vala \
namespaces.vala \
diff --git a/tests/basic-types/bug595751.vala b/tests/basic-types/bug595751.vala
new file mode 100644
index 000000000..c57d4e9f4
--- /dev/null
+++ b/tests/basic-types/bug595751.vala
@@ -0,0 +1,3 @@
+void main () {
+ int a[2];
+}