]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/block-arg-disambig.rs
288e01dcc531f5c676cb96ee7567b7a82378cf12
[rust.git] / src / test / pretty / block-arg-disambig.rs
1 fn blk1(b: block()) -> fn@() { ret fn@() { }; }
2
3 fn test1() { (blk1 {|| #debug["hi"]; })(); }
4
5 fn test2() { (blk1 {|| #debug["hi"]; }) {|| #debug["ho"]; }; }