xref: /PHP-7.4/Zend/tests/ns_094.phpt (revision d679f022)
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