summaryrefslogtreecommitdiff
path: root/tests/projects/c/headeronly/src/foo.h
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-16 23:18:53 +0800
committerruki <[email protected]>2021-10-16 23:18:53 +0800
commit194e8abb709553c79d5ee34d9bd4a714aa3004d7 (patch)
tree919729e21b2c434e63d3d8d671fdc83adebf53b5 /tests/projects/c/headeronly/src/foo.h
parentbbe1a5c2f7418d085304d1dcd0462cf4b2193497 (diff)
add headeronly kind for target
Diffstat (limited to 'tests/projects/c/headeronly/src/foo.h')
-rw-r--r--tests/projects/c/headeronly/src/foo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/projects/c/headeronly/src/foo.h b/tests/projects/c/headeronly/src/foo.h
new file mode 100644
index 000000000..915f44b87
--- /dev/null
+++ b/tests/projects/c/headeronly/src/foo.h
@@ -0,0 +1,9 @@
+/*! calculate add(a, b)
+ *
+ * @param a the first argument
+ * @param b the second argument
+ *
+ * @return the result
+ */
+int add(int a, int b);
+