make test typecheck

This commit is contained in:
Niko Matsakis 2012-01-04 22:07:03 -08:00
parent e1a0d0f03d
commit 75f84b2563

View File

@ -1,5 +1,2 @@
fn blk1(b: block()) -> fn@() { ret fn@() { }; }
fn test1() { (blk1 {|| #debug["hi"]; })(); }
fn test2() { (blk1 {|| #debug["hi"]; }) {|| #debug["ho"]; }; }