1// Include a file to ensure we have multiple sources.
2#include "sample.h"
3
4// This introduces a symbol, a reference and a relation.
5struct Bar : public Foo {
6 // This introduces an OverriddenBy relation by implementing Foo::Func.
7 void Func() override {}
8};
9

source code of clang-tools-extra/clangd/test/index-serialization/Inputs/sample.cpp