Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
issues
/
issue-19001.rs
blob: 85f7a84ac295fce8c717f1b014fd1170316564a2 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// check that we handle recursive arrays correctly in `type_of`
struct
Loopy
{
ptr
:
*
mut
[
Loopy
;
1
]
}
fn
main
()
{
let
_t
=
Loopy
{
ptr
:
0
as
*
mut
_
};
}