1
Fork 0

Fix run pass test

This commit is contained in:
Jorge Aparicio 2014-12-05 10:16:53 -05:00
parent 40b3617035
commit 45860b53e0

View file

@ -10,6 +10,9 @@
// no-pretty-expanded FIXME #15189 // no-pretty-expanded FIXME #15189
// ignore-windows FIXME #13259 // ignore-windows FIXME #13259
#![feature(unboxed_closures)]
use std::os; use std::os;
use std::io::process::Command; use std::io::process::Command;
use std::finally::Finally; use std::finally::Finally;
@ -25,7 +28,7 @@ fn foo() {
#[inline(never)] #[inline(never)]
fn double() { fn double() {
(|| { (|&mut:| {
panic!("once"); panic!("once");
}).finally(|| { }).finally(|| {
panic!("twice"); panic!("twice");