2011-09-28 16:24:56 -05:00
|
|
|
// error-pattern: needed shared type, got pinned type block
|
2011-11-15 09:45:14 -06:00
|
|
|
// xfail-test
|
2011-07-25 18:57:27 -05:00
|
|
|
|
2011-09-12 04:27:30 -05:00
|
|
|
fn lol(f: block()) -> block() { ret f; }
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { let i = 8; let f = lol(block () { log_err i; }); f(); }
|