8 lines
221 B
Rust
8 lines
221 B
Rust
// error-pattern:whatever
|
|
|
|
fn main() {
|
|
log(error, "whatever");
|
|
// 101 is the code the runtime uses on task failure and the value
|
|
// compiletest expects run-fail tests to return.
|
|
os::set_exit_status(101);
|
|
} |