xref: /PHP-7.1/Zend/tests/ns_094.phpt (revision 113213f0)
1--TEST--
2Type group use declarations should not allow override on inner itens
3--FILE--
4<?php
5
6// should throw syntax errors
7
8use const Foo\Bar\{
9    A,
10    const B,
11    function C
12};
13--EXPECTF--
14Parse error: syntax error, unexpected 'const' (T_CONST), expecting identifier (T_STRING) in %s on line 7
15