summaryrefslogtreecommitdiff
path: root/tests/classes/interface_constant_inheritance_007.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/interface_constant_inheritance_007.phpt')
-rw-r--r--tests/classes/interface_constant_inheritance_007.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/classes/interface_constant_inheritance_007.phpt b/tests/classes/interface_constant_inheritance_007.phpt
index e072e65e63..daf0777250 100644
--- a/tests/classes/interface_constant_inheritance_007.phpt
+++ b/tests/classes/interface_constant_inheritance_007.phpt
@@ -5,5 +5,6 @@ Ensure a interface can not have private constants
interface A {
private const FOO = 10;
}
+?>
--EXPECTF--
Fatal error: Access type for interface constant A::FOO must be public in %s on line 3