xref: /PHP-7.2/Zend/tests/ns_094.phpt (revision f1d7e3ca)
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 '}' in %s on line 7
15