aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/query-def-source-struct0
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-21 09:59:13 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-21 13:38:45 +0000
commit8fc377978dcf81013752b91c15eb8d573fca560f (patch)
treec1cf2241556888c759e0d2ab8641caee53a35e0d /pkg/codesearch/testdata/query-def-source-struct0
parent6b862b615943965909f5b1b611786b5ba2d2819e (diff)
pkg/codesearch: do indexing of struct/union/enum
Update #6469
Diffstat (limited to 'pkg/codesearch/testdata/query-def-source-struct0')
-rw-r--r--pkg/codesearch/testdata/query-def-source-struct08
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/query-def-source-struct0 b/pkg/codesearch/testdata/query-def-source-struct0
new file mode 100644
index 000000000..adf011a3c
--- /dev/null
+++ b/pkg/codesearch/testdata/query-def-source-struct0
@@ -0,0 +1,8 @@
+def-source source0.c struct_in_c_file yes
+
+struct struct_in_c_file is defined in source0.c:
+
+ 6: struct struct_in_c_file {
+ 7: int X;
+ 8: struct some_struct by_value;
+ 9: };