summaryrefslogtreecommitdiff
path: root/test/rust-from-c/foo/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/rust-from-c/foo/bar.rs')
-rw-r--r--test/rust-from-c/foo/bar.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rust-from-c/foo/bar.rs b/test/rust-from-c/foo/bar.rs
new file mode 100644
index 0000000..61e68f4
--- /dev/null
+++ b/test/rust-from-c/foo/bar.rs
@@ -0,0 +1,3 @@
+pub fn bar(x: i32) -> i32 {
+ return x.abs();
+} \ No newline at end of file