Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
generics12.rs
blob: 654cc20eb4333c89c17ccaaab1ad95c2c33c9bbe [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
fn
main
()
{
bar
();
// { dg-error "type annotations needed" "" { target *-*-* } .-1 }
}
fn
bar
<
T
>()
{}