Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
tuple_struct1.rs
blob: 0d08530fc6364b1d8b53a0feae4a28c0546bd0d2 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
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'" }
}