diff options
Diffstat (limited to 'tests/ui/proc-macro/derive-same-struct.rs')
| -rw-r--r-- | tests/ui/proc-macro/derive-same-struct.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/derive-same-struct.rs b/tests/ui/proc-macro/derive-same-struct.rs new file mode 100644 index 00000000000..528b0f22a81 --- /dev/null +++ b/tests/ui/proc-macro/derive-same-struct.rs @@ -0,0 +1,15 @@ +// run-pass + +#![allow(path_statements)] +#![allow(dead_code)] +// aux-build:derive-same-struct.rs + +#[macro_use] +extern crate derive_same_struct; + +#[derive(AToB)] +struct A; + +fn main() { + C; +} |
