a1dfa0c6 |
1 | //aux-build:issue-5844-aux.rs |
17df50a5 XL |
2 | // revisions: mir thir |
3 | // [thir]compile-flags: -Z thir-unsafeck |
223e47cc |
4 | |
1a4d82fc |
5 | extern crate issue_5844_aux; |
223e47cc LB |
6 | |
7 | fn main () { |
1a4d82fc |
8 | issue_5844_aux::rand(); //~ ERROR: requires unsafe |
223e47cc |
9 | } |