Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
tuple-struct-construct.rs
blob: 4243bccb4eb7a7f62820db90329e8a095ce8e7ce [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#[
allow
(
dead_code
)]
#[
derive
(
Debug
)]
struct
Foo
(
isize
,
isize
);
pub
fn
main
()
{
let
x
=
Foo
(
1
,
2
);
println
!(
"{:?}"
,
x
);
}