rust/tests/target/immovable_coroutines.rs

9 lines
115 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 = #[coroutine]
static || {
2018-01-30 08:14:33 -06:00
yield 1;
};
}