Move the myriad-closures.rs test case to run-pass-full test suite.

This commit is contained in:
Michael Woerister 2016-11-22 15:16:54 -05:00
parent 0f7c75b74f
commit c0464eef17

View file

@ -13,6 +13,9 @@
// toolchain.
// See https://github.com/rust-lang/rust/issues/34793 for more information.
// Make sure we don't optimize anything away:
// compile-flags: -C no-prepopulate-passes
// Expand something exponentially
macro_rules! go_bacterial {
($mac:ident) => ($mac!());
@ -23,10 +26,7 @@ macro_rules! go_bacterial {
}
macro_rules! mk_closure {
() => ({
let c = |a: u32| a + 4;
let _ = c(2);
})
() => ((move || {})())
}
macro_rules! mk_fn {