aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/source0.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/codesearch/testdata/source0.c')
-rw-r--r--pkg/codesearch/testdata/source0.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/source0.c b/pkg/codesearch/testdata/source0.c
new file mode 100644
index 000000000..384c4c119
--- /dev/null
+++ b/pkg/codesearch/testdata/source0.c
@@ -0,0 +1,22 @@
+// Copyright 2025 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+#include "source0.h"
+
+/*
+ * Comment about open.
+ */
+int open()
+{
+ return 0;
+}
+
+int close()
+{
+ return 0;
+}
+
+void function_with_comment_in_header()
+{
+ same_name_in_several_files();
+}