summaryrefslogtreecommitdiff
path: root/tests/projects/linux/driver/hello_custom/src/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/linux/driver/hello_custom/src/add.c')
-rw-r--r--tests/projects/linux/driver/hello_custom/src/add.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/projects/linux/driver/hello_custom/src/add.c b/tests/projects/linux/driver/hello_custom/src/add.c
new file mode 100644
index 000000000..59aab4983
--- /dev/null
+++ b/tests/projects/linux/driver/hello_custom/src/add.c
@@ -0,0 +1,3 @@
+int add(int a, int b) {
+ return a + b;
+}