11 lines
113 B
Rust
11 lines
113 B
Rust
|
// error-pattern:fail
|
||
|
|
||
|
fn failfn() {
|
||
|
fail;
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let x = @~0;
|
||
|
failfn();
|
||
|
log(error, x);
|
||
|
}
|