Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
template_function_0.rs
blob: 12b82fbf00597764f53988f066c4e4e8891a80c5 [
file
]
// { dg-additional-options "-frust-unused-check-2.0" }
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
pub
fn
test
<
T
>
(
a
:
usize
)
->
()
{
// { dg-warning "unused variable .a." "" { target *-*-* } .-1 }
}