rust/src/test/compile-fail/crust-no-bind.rs
2012-02-14 11:24:09 -08:00

7 lines
121 B
Rust

// error-pattern:expected function or native function but found *u8
crust fn f() {
}
fn main() {
let x = bind f();
}