Debian Codegraph @

clang/test/Index/USR/decl-context.cpp

raw
1 // RUN: c-index-test core -print-source-symbols -- -std=c++20 %s | FileCheck %s
2
3 namespace ns {
4 namespace {
5 struct Foo {};
6 // CHECK: [[@LINE-1]]:8 | struct/C | Foo | c:decl-context.cpp@N@ns@aN@S@Foo
7 }
8 }
9 namespace ns2 {
10 namespace {
11 struct Foo {};
12 // CHECK: [[@LINE-1]]:8 | struct/C | Foo | c:decl-context.cpp@N@ns2@aN@S@Foo
13 }
14 }