xref: /PHP-7.0/Zend/tests/ns_096.phpt (revision ef7d822c)
1--TEST--
2Group use declaration list should not contain leading separator
3--FILE--
4<?php
5
6use Foo\Bar\{\Baz};
7
8?>
9--EXPECTF--
10Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) or function (T_FUNCTION) or const (T_CONST) in %s on line 3
11