Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
unsafe
/
foreign-unsafe-fn-called.rs
blob: b5065beb5fcb8804b7b5bd5f4a4ea36a6fb1093d [
file
] [
log
] [
blame
]
mod
test
{
extern
"C"
{
pub
fn
free
();
}
}
fn
main
()
{
test
::
free
();
//~^ ERROR call to unsafe function `test::free` is unsafe
}