aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/14 external libm/prog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/rust/14 external libm/prog.rs')
-rw-r--r--meson/test cases/rust/14 external libm/prog.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/rust/14 external libm/prog.rs b/meson/test cases/rust/14 external libm/prog.rs
new file mode 100644
index 000000000..674597785
--- /dev/null
+++ b/meson/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);
+}