summaryrefslogtreecommitdiff
path: root/tests/apis/target_get_from/src/foo.h
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-26 22:52:20 +0800
committerruki <[email protected]>2023-10-26 22:52:20 +0800
commitb6631aa5791471e0403314fae8dfe44d9408baec (patch)
tree4fadca2ed08a66b1688002bbbbb61ad7a0aea19e /tests/apis/target_get_from/src/foo.h
parent76b45e616eef765de745f0e4fa71b8d64fd0a9a7 (diff)
add tests
Diffstat (limited to 'tests/apis/target_get_from/src/foo.h')
-rw-r--r--tests/apis/target_get_from/src/foo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/apis/target_get_from/src/foo.h b/tests/apis/target_get_from/src/foo.h
new file mode 100644
index 000000000..d2506bca9
--- /dev/null
+++ b/tests/apis/target_get_from/src/foo.h
@@ -0,0 +1,9 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int add(int a, int b);
+
+#ifdef __cplusplus
+}
+#endif