Skip to content

Commit

Permalink
Un-xfail test for 7385
Browse files Browse the repository at this point in the history
I've verified that it works on osx x86_64

Closes #7385
  • Loading branch information
alexcrichton committed Feb 1, 2014
1 parent cc6afe1 commit 2c8b112
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/run-pass/const-vec-of-fns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// xfail-test
// FIXME: #7385: hits a codegen bug on OS X x86_64

/*!
* Try to double-check that static fns have the right size (with or
* without dummy env ptr, as appropriate) by iterating a size-2 array.
Expand All @@ -25,5 +22,8 @@ static closures: &'static [S<'static>] = &[S(f), S(f)];

pub fn main() {
for &bare_fn in bare_fns.iter() { bare_fn() }
for &closure in closures.iter() { (*closure)() }
for closure in closures.iter() {
let S(ref closure) = *closure;
(*closure)()
}
}

0 comments on commit 2c8b112

Please sign in to comment.