Skip to content

Commit

Permalink
add test for std::random
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 25, 2024
1 parent e057c17 commit cbe2ec0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tools/miri/tests/pass/shims/random.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#![feature(random)]

fn main() {
let _x: i32 = std::random::random();
}

0 comments on commit cbe2ec0

Please sign in to comment.