rust/tests/target/immovable_generators.rs

8 lines
98 B
Rust
Raw Normal View History

2018-01-30 08:14:33 -06:00
#![feature(generators)]
unsafe fn foo() {
let mut ga = static || {
yield 1;
};
}