From 3452ddfd6e6cdea93425c97ddbecb9ede93f691c Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Sun, 30 Aug 2026 12:46:20 +0800 Subject: [PATCH] test(namespace): extend global constant import coverage --- .../namespace/use-const-single-segment.phpt | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/tests/compiler/namespace/use-const-single-segment.phpt b/tests/compiler/namespace/use-const-single-segment.phpt index c6426ee9..5c18e85f 100644 --- a/tests/compiler/namespace/use-const-single-segment.phpt +++ b/tests/compiler/namespace/use-const-single-segment.phpt @@ -1,9 +1,11 @@ --TEST-- -use const with a single-segment (global) constant name +use const with single-segment global names, aliases, and runtime constants --FILE-- --EXPECT-- hello +alias 42 +runtime-value