1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Files
archived-php-src/Zend/tests/attributes/014_class_const_group.phpt
T
Benjamin Eberlei a7908c2d11 Add Attributes
Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>
2020-06-04 18:19:49 +02:00

15 lines
216 B
PHP

--TEST--
Attributes cannot be applied to groups of class constants.
--FILE--
<?php
class C1
{
<<A1>>
public const A = 1, B = 2;
}
?>
--EXPECTF--
Fatal error: Cannot apply attributes to a group of constants in %s