Fix test/run-fail/issue-2156

This commit is contained in:
Brian Anderson 2012-09-26 18:10:24 -07:00
parent c244147c50
commit dd80cb22e3

View File

@ -1,7 +1,7 @@
// error-pattern:explicit failure
// Don't double free the string
extern mod std;
use io::Reader;
use io::ReaderUtil;
fn main() {
do io::with_str_reader(~"") |rdr| {