Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
proc-macro
/
derive-same-struct.rs
blob: 04ab08dc76e5bced91522fac4e36e9e58ec71afe [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
path_statements
)]
#![
allow
(
dead_code
)]
//@ proc-macro: derive-same-struct.rs
//@ ignore-backends: gcc
#[
macro_use
]
extern
crate derive_same_struct
;
#[
derive
(
AToB
)]
struct
A
;
fn
main
()
{
C
;
}