Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
deadcode2.rs
blob: 3bf7f0c21155deae66a49d4b6c6fe65c4246e1fd [
file
] [
log
] [
blame
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
foo
()
->
i32
{
return
1
;
let
a
=
-
1
;
// { dg-warning "unreachable statement" }
a
// { dg-warning "unreachable expression" }
}
fn
main
()
{
foo
();
}