aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/cpp/static-namespace-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query/highlights/cpp/static-namespace-functions.cpp')
-rw-r--r--tests/query/highlights/cpp/static-namespace-functions.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/query/highlights/cpp/static-namespace-functions.cpp b/tests/query/highlights/cpp/static-namespace-functions.cpp
index 2bea488a3..3d16c43cf 100644
--- a/tests/query/highlights/cpp/static-namespace-functions.cpp
+++ b/tests/query/highlights/cpp/static-namespace-functions.cpp
@@ -1,12 +1,14 @@
// Issue #2396
-int main()
-{
- B::foo();
+int main()
+{
+ B::foo();
// ^ @function.call
- Foo::A::foo();
+ Foo::A::foo();
// ^ @function.call
- Foo::a::A::foo();
+ Foo::a::A::foo();
// ^ @function.call
- return 0;
-}
+ Foo::a::A::B::foo();
+ // ^ @function.call
+ return 0;
+}