Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
structs-enums
/
tuple-struct-construct.rs
blob: 4243bccb4eb7a7f62820db90329e8a095ce8e7ce [
file
] [
log
] [
blame
]
//@ run-pass
#[
allow
(
dead_code
)]
#[
derive
(
Debug
)]
struct
Foo
(
isize
,
isize
);
pub
fn
main
()
{
let
x
=
Foo
(
1
,
2
);
println
!(
"{:?}"
,
x
);
}