Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
1383.rs
blob: f5741871474610c126aa110148251386d00bec1e [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
pub
fn
generic_function
<
X
>(
a
:
X
)
->
X
{
a
}
fn
main
()
->
i32
{
let
a
=
generic_function
(
123
);
a
-
123
}