Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
issue-368.rs
blob: 8d8e623c783fade544f264c9ecac01cb1ab1c650 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
struct
S
;
fn
foo
<
S
>(
s
:
S
)
->
S
{
s
}
fn
main
()
{
let
_s
:
S
=
foo
(
S
);
}