Diffstat (limited to 'tests/demo2.rs')
| -rw-r--r-- | tests/demo2.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/demo2.rs b/tests/demo2.rs new file mode 100644 index 0000000..4bb811a --- /dev/null +++ b/tests/demo2.rs @@ -0,0 +1,14 @@ +use macro_rules_attribute::derive; +use uniserde::Build; + +#[derive(Build!)] +struct A { + b: B, + c: B, +} + +#[derive(Build!)] +struct B {} + +#[test] +fn demo() {} |