diff options
Diffstat (limited to 'tests/01-parse-impl.rs')
-rw-r--r-- | tests/01-parse-impl.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/01-parse-impl.rs b/tests/01-parse-impl.rs new file mode 100644 index 0000000..8fe5b3c --- /dev/null +++ b/tests/01-parse-impl.rs @@ -0,0 +1,12 @@ +// Checks if #[impl_trait] exists. + +use impl_trait::impl_trait; + +struct Foo; + +impl_trait! { + impl Foo { + } +} + +fn main() {} |