Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
1930.rs
blob: 9d5050f47828f6e8ca667463511d8b60f9bb95c5 [
file
]
// { dg-options "-w" }
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
fn
test
<
T
>(
x
:
*
mut
T
)
{
let
x
=
x
as
*
mut
u8
;
}