diff options
author | Florian Brosch <flo.brosch@gmail.com> | 2014-09-03 01:37:31 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-10-29 17:22:04 +0100 |
commit | 4e34272c34ef558663af19414a7584506cb60fc0 (patch) | |
tree | 7ed54b3d9b8954c40ce365e5d50d5be4f58317e9 /tests/generics | |
parent | c9e00a0f38ba0bbe5742655ce96f20df15313ab6 (diff) | |
download | vala-4e34272c34ef558663af19414a7584506cb60fc0.tar.gz |
vala: Improve error message for arrays as type arguments
Diffstat (limited to 'tests/generics')
-rw-r--r-- | tests/generics/arrays-not-supported.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/generics/arrays-not-supported.test b/tests/generics/arrays-not-supported.test new file mode 100644 index 000000000..39bce9001 --- /dev/null +++ b/tests/generics/arrays-not-supported.test @@ -0,0 +1,8 @@ +Invalid Code + +void foo<G>(G g = null) { +} + +void main () { + foo<int[]>(); +} |