2011-08-31 13:22:58 +02:00
|
|
|
// xfail-test
|
2010-06-23 21:03:09 -07:00
|
|
|
// -*- rust -*-
|
|
|
|
|
2011-01-10 14:53:20 -08:00
|
|
|
// error-pattern: dead
|
|
|
|
|
2011-12-22 17:53:53 -08:00
|
|
|
fn f(caller: str) { log(debug, caller); }
|
2010-06-23 21:03:09 -07:00
|
|
|
|
2012-08-01 17:30:05 -07:00
|
|
|
fn main() { return f("main"); debug!{"Paul is dead"}; }
|
2010-06-23 21:03:09 -07:00
|
|
|
|