xref: /PHP-8.3/Zend/tests/ns_094.phpt (revision 7aacc705)
1--TEST--
2Type group use declarations should not allow override on inner items
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?>
14--EXPECTF--
15Parse error: syntax error, unexpected token "const", expecting "}" in %s on line %d
16