]> git.lizzy.rs Git - rust.git/blob - src/test/ui/foreign-unsafe-fn-called.rs
Rollup merge of #69460 - LeSeulArtichaut:move-compile-pass, r=RalfJung
[rust.git] / src / test / ui / foreign-unsafe-fn-called.rs
1 mod test {
2     extern {
3         pub fn free();
4     }
5 }
6
7 fn main() {
8     test::free();
9     //~^ ERROR call to unsafe function is unsafe
10 }