Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
tuple_struct1.rs
blob: 2f4cb4a353bba5bb9a55384bc9fa2ceb87f32a0f [
file
] [
log
] [
blame
]
struct
Foo
{
one
:
i32
,
two
:
i32
,
}
fn
main
()
{
let
a
=
Foo
(
1
,
2
);
// { dg-error "expected function, tuple struct or tuple variant, found struct 'Foo'" }
}