rust/tests/target/immovable_coroutines.rs

8 lines
98 B
Rust
Raw Normal View History

2023-10-19 16:46:28 -05:00
#![feature(coroutines)]
2018-01-30 08:14:33 -06:00
unsafe fn foo() {
let mut ga = static || {
yield 1;
};
}