diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2026-01-21 09:59:13 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-01-21 13:38:45 +0000 |
| commit | 8fc377978dcf81013752b91c15eb8d573fca560f (patch) | |
| tree | c1cf2241556888c759e0d2ab8641caee53a35e0d /pkg/codesearch/testdata/query-def-source-struct3 | |
| parent | 6b862b615943965909f5b1b611786b5ba2d2819e (diff) | |
pkg/codesearch: do indexing of struct/union/enum
Update #6469
Diffstat (limited to 'pkg/codesearch/testdata/query-def-source-struct3')
| -rw-r--r-- | pkg/codesearch/testdata/query-def-source-struct3 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/query-def-source-struct3 b/pkg/codesearch/testdata/query-def-source-struct3 new file mode 100644 index 000000000..0d4f4e29e --- /dev/null +++ b/pkg/codesearch/testdata/query-def-source-struct3 @@ -0,0 +1,11 @@ +def-source source0.c some_struct_with_a_comment yes + +struct some_struct_with_a_comment is defined in source0.h: + + 24: /* + 25: * This should not require an explanation. + 26: */ + 27: struct some_struct_with_a_comment { + 28: int x; + 29: struct some_struct* other_struct; + 30: }; |
