2012-01-13 00:17:21 -06:00
|
|
|
// error-pattern:whatever
|
|
|
|
|
|
|
|
fn main() {
|
2012-07-14 00:57:48 -05:00
|
|
|
log(error, ~"whatever");
|
2012-01-13 00:17:21 -06:00
|
|
|
// 101 is the code the runtime uses on task failure and the value
|
|
|
|
// compiletest expects run-fail tests to return.
|
2012-04-19 03:26:17 -05:00
|
|
|
os::set_exit_status(101);
|
2012-01-13 00:17:21 -06:00
|
|
|
}
|