Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
crashes
/
130425.rs
blob: 559b86f7bc2c4a42509f7cd6a10831783cb535ab [
file
] [
log
] [
blame
] [
edit
]
//@ known-bug: #130425
//@ compile-flags: -Zmir-opt-level=5 -Zpolymorphize=on
struct
S
<
T
>(
T
)
where
[
T
;
(
|
_
:
u8
|
{
static
FOO
:
Sync
=
AtomicUsize
::
new
(
0
);
unsafe
{
&*(&
FOO
as
*
const
_
as
*
const
usize
)
}
},
1
,
)
.
1
]:
Copy
;