Commit e2fd41e1 authored by Rico Tzschichholz's avatar Rico Tzschichholz

tests: Add invalid array initializer tests to increase coverage

parent 6fe9a8b7
......@@ -467,6 +467,8 @@ TESTS = \
parser/yield-method.test \
parser/bug728574.vala \
parser/bug749576.vala \
semantic/array-incompatible-initializer.test \
semantic/array-incompatible-initializer2.test \
semantic/assignment-element-incompatible-ownership.test \
semantic/assignment-element-incompatible-type.test \
semantic/assignment-same-variable.vala \
......
Invalid Code
void main () {
string[,] a = { "foo" };
}
Invalid Code
void main () {
string[] a = { { "foo" } };
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment