Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
redundant-semicolons_0.rs
blob: ae67b516b2fdda47cad9e9d5e26b12be0df5ce88 [
file
]
// { dg-additional-options "-frust-unused-check-2.0" }
#![
feature
(
no_core
)]
#![
no_core
]
pub
fn
foo
()
->
i32
{
let
a
=
32
;;
// { dg-warning "unnecessary trailing semicolons" "" { target *-*-* } .-1 }
return
a
}