2012-01-02 03:20:58 -06:00
|
|
|
// Make sure #1399 stays fixed
|
|
|
|
|
|
|
|
fn main() {
|
2012-01-09 18:12:37 -06:00
|
|
|
fn invoke(f: fn@()) { f(); }
|
2012-01-02 03:20:58 -06:00
|
|
|
let k = ~22;
|
|
|
|
let _u = {a: k};
|
2012-06-30 18:19:07 -05:00
|
|
|
invoke(|| log(error, k) )
|
2012-01-02 03:20:58 -06:00
|
|
|
}
|