aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/source2.c.json
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/codesearch/testdata/source2.c.json')
-rw-r--r--pkg/codesearch/testdata/source2.c.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/source2.c.json b/pkg/codesearch/testdata/source2.c.json
new file mode 100644
index 000000000..4407152db
--- /dev/null
+++ b/pkg/codesearch/testdata/source2.c.json
@@ -0,0 +1,19 @@
+{
+ "definitions": [
+ {
+ "kind": "function",
+ "name": "same_name_in_several_files",
+ "type": "void ()",
+ "body": {
+ "file": "source2.c",
+ "start_line": 4,
+ "end_line": 7
+ },
+ "comment": {
+ "file": "source2.c",
+ "start_line": 1,
+ "end_line": 2
+ }
+ }
+ ]
+} \ No newline at end of file