From 09adaf2606aa58a51694f95c30031fedf3f22962 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 8 Aug 2018 14:28:47 +0200 Subject: [PATCH] tests: Add invalid test for "unsupported stacked arrays" --- tests/Makefile.am | 1 + tests/semantic/array-stacked.test | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tests/semantic/array-stacked.test diff --git a/tests/Makefile.am b/tests/Makefile.am index d2bb37be6..8d255e89d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -476,6 +476,7 @@ TESTS = \ parser/yield-method.test \ parser/bug728574.vala \ parser/bug749576.vala \ + semantic/array-stacked.test \ semantic/array-incompatible-initializer.test \ semantic/array-incompatible-initializer2.test \ semantic/assignment-element-incompatible-ownership.test \ diff --git a/tests/semantic/array-stacked.test b/tests/semantic/array-stacked.test new file mode 100644 index 000000000..74e522829 --- /dev/null +++ b/tests/semantic/array-stacked.test @@ -0,0 +1,5 @@ +Invalid Code + +void main () { + string[][] saa = null; +} -- 2.11.4.GIT