Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
if-without-else.rs
blob: 98fbecb411f5cc64f225e19943c07097f6550c28 [
file
] [
log
] [
blame
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
foo
(
pred
:
bool
)
->
u8
{
if
pred
{
// { dg-error "mismatched types" }
1
}
3
}
fn
main
(){
}