Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
func2.rs
blob: d97159952945d4bc22ed2143e268a3d6ea30eee3 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
test
(
a
:
i32
,
b
:
i32
)
->
i32
{
a
+
b
}
fn
main
()
{
let
a
=
test
(
1
);
// { dg-error "this function takes 2 arguments but 1 argument was supplied" }
}