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