Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
generics23.rs
blob: c3c2030800ccc6790793ea5671a12007eb19c24f [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
struct
Foo
<
A
=
f32
>(
A
);
fn
main
()
{
let
a
:
Foo
;
a
=
Foo
(
123f32
);
}