summaryrefslogtreecommitdiff
path: root/test/static/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/static/bar.rs')
-rw-r--r--test/static/bar.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/static/bar.rs b/test/static/bar.rs
new file mode 100644
index 0000000..6a0afce
--- /dev/null
+++ b/test/static/bar.rs
@@ -0,0 +1,11 @@
+
+extern crate baz;
+pub fn hello(){
+ baz::hello();
+ println!("hello bar");
+}
+
+pub fn add(a: i32, b: i32) -> i32 {
+ a + b
+}
+