aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/php/keywords.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query/highlights/php/keywords.php')
-rw-r--r--tests/query/highlights/php/keywords.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/query/highlights/php/keywords.php b/tests/query/highlights/php/keywords.php
index 6b938c43f..5504cab19 100644
--- a/tests/query/highlights/php/keywords.php
+++ b/tests/query/highlights/php/keywords.php
@@ -12,16 +12,28 @@ use Foo\Baz as Baaz;
// ^^ @keyword.operator
// ^^^^ @type.definition
+use Foo\Baz\{Foo, Bar};
+// ^^^ @type
+// ^^^ @type
+
use function Foo\foo as fooo;
// ^^^^^^^^ @keyword.function
// ^^^ @function
// ^^^^ @function
+use function Foo\{bar, baz};
+// ^^^ @function
+// ^^^ @function
+
use const Foo\FOO as FOOO;
// ^^^^^ @keyword.modifier
// ^^^ @constant
// ^^^^ @constant
+use const Foo\{FOO, BAR};
+// ^^^ @constant
+// ^^^ @constant
+
use Foo\Baz\{
// ^^^ @module
// ^^^ @module