Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
xcrate-reachable.rs
blob: c6328448868cbfe26ef141651468ad55ade335aa [
file
] [
log
] [
blame
]
// run-pass
// aux-build:xcrate-reachable.rs
#![
feature
(
coroutine_trait
)]
extern
crate xcrate_reachable
as
foo
;
use
std
::
ops
::
Coroutine
;
use
std
::
pin
::
Pin
;
fn
main
()
{
Pin
::
new
(&
mut
foo
::
foo
()).
resume
(());
}