Fix run pass test
This commit is contained in:
parent
40b3617035
commit
45860b53e0
1 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,9 @@
|
|||
|
||||
// no-pretty-expanded FIXME #15189
|
||||
// ignore-windows FIXME #13259
|
||||
|
||||
#![feature(unboxed_closures)]
|
||||
|
||||
use std::os;
|
||||
use std::io::process::Command;
|
||||
use std::finally::Finally;
|
||||
|
@ -25,7 +28,7 @@ fn foo() {
|
|||
|
||||
#[inline(never)]
|
||||
fn double() {
|
||||
(|| {
|
||||
(|&mut:| {
|
||||
panic!("once");
|
||||
}).finally(|| {
|
||||
panic!("twice");
|
||||
|
|
Loading…
Add table
Reference in a new issue