diff options
Diffstat (limited to 'Zend/tests/ns_trailing_comma_error_06.phpt')
-rw-r--r-- | Zend/tests/ns_trailing_comma_error_06.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Zend/tests/ns_trailing_comma_error_06.phpt b/Zend/tests/ns_trailing_comma_error_06.phpt new file mode 100644 index 0000000000..2f2738e204 --- /dev/null +++ b/Zend/tests/ns_trailing_comma_error_06.phpt @@ -0,0 +1,8 @@ +--TEST-- +Unmixed group use declarations mustn't allow more than one comma +--FILE-- +<?php +use const Baz\{Foo,,}; +?> +--EXPECTF-- +Parse error: syntax error, unexpected ',', expecting '}' in %s on line %d
\ No newline at end of file |