rust/tests/source/immovable_generators.rs
2018-03-02 15:07:13 +13:00

8 lines
99 B
Rust

#![feature(generators)]
unsafe fn foo() {
let mut ga = static || {
yield 1;
};
}