Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
func3.rs
blob: 830c84cb129d7c980902d8f2562f9c2ced7c0931 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
test
(
a
:
i32
,
b
:
i32
)
->
i32
{
a
+
b
}
fn
main
()
{
let
a
=
test
(
1
,
true
);
// { dg-error "mismatched types, expected .i32. but got .bool." "" { target *-*-* } .-1 }
}