[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / namespaced-base-ctor-init.cpp
blob2d60f7c6530a444e644b00646b10a75b02a7a002
1 namespace ns1 {
2 struct Base {};
3 struct Derived : Base {
4 Derived() : ns1::Base() {}
5 };
8 // RUN: c-index-test -test-load-source all %s | FileCheck %s
9 // CHECK: namespaced-base-ctor-init.cpp:4:15: NamespaceRef=ns1:1:11 Extent=[4:15 - 4:18]
10 // CHECK: namespaced-base-ctor-init.cpp:4:20: TypeRef=struct ns1::Base:2:8 Extent=[4:20 - 4:24]