Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
lint
/
warn-ctypes-inhibit.rs
blob: 0f401150adf6426297fdde1ac02f1a00039441ea [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
//@ compile-flags:-D improper-ctypes
#![
allow
(
improper_ctypes
)]
mod
libc
{
extern
"C"
{
pub
fn
malloc
(
size
:
isize
)
->
*
const
u8
;
}
}
pub
fn
main
()
{}