Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
deriving
/
deriving-via-extension-struct-empty.rs
blob: 43a60013e79e4cf49703e43569cd1b609d27729e [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#[
derive
(
PartialEq
,
Debug
)]
struct
Foo
;
pub
fn
main
()
{
assert_eq
!(
Foo
,
Foo
);
assert
!(!(
Foo
!=
Foo
));
}