summaryrefslogtreecommitdiffstats
path: root/test cases/rust/14 external libm/prog.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/rust/14 external libm/prog.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/rust/14 external libm/prog.rs b/test cases/rust/14 external libm/prog.rs
new file mode 100644
index 0000000..6745977
--- /dev/null
+++ b/test cases/rust/14 external libm/prog.rs
@@ -0,0 +1,5 @@
+extern crate rs_math;
+
+fn main() {
+ assert_eq!(rs_math::rs_log2(8.0), 3.0);
+}