summaryrefslogtreecommitdiff
path: root/c_wasm/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_wasm/hello.c')
-rw-r--r--c_wasm/hello.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c_wasm/hello.c b/c_wasm/hello.c
new file mode 100644
index 0000000..696b1fb
--- /dev/null
+++ b/c_wasm/hello.c
@@ -0,0 +1,6 @@
+extern void xdx();
+
+int Add(int a, int b) {
+ xdx();
+ return a + b;
+}