]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/derive-same-struct.rs
Rollup merge of #106591 - Ezrashaw:attempted-integer-identifer, r=Estebank
[rust.git] / tests / ui / proc-macro / derive-same-struct.rs
1 // run-pass
2
3 #![allow(path_statements)]
4 #![allow(dead_code)]
5 // aux-build:derive-same-struct.rs
6
7 #[macro_use]
8 extern crate derive_same_struct;
9
10 #[derive(AToB)]
11 struct A;
12
13 fn main() {
14     C;
15 }