Sign in
rust
/
rust
/
e8a63124746761e743d69ea510194de2ada4034f
/
.
/
tests
/
ui
/
typeck
/
issue-104510-ice.rs
blob: 627af1fe9523051fd88c0413ce9fdc5a5e9cefec [
file
] [
log
] [
blame
]
//@ needs-asm-support
//@ only-x86_64
struct
W
<
T
:
?
Sized
>(
Oops
);
//~^ ERROR cannot find type `Oops` in this scope
unsafe
fn
test
()
{
let
j
=
W
(());
let
pointer
=
&
j
as
*
const
_
;
core
::
arch
::
asm
!(
"nop"
,
in
(
"eax"
)
pointer
,
);
}
fn
main
()
{}