diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/proc-macro/trailing-plus.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/trailing-plus.rs b/src/test/ui/proc-macro/trailing-plus.rs new file mode 100644 index 000000000..4f61de47d --- /dev/null +++ b/src/test/ui/proc-macro/trailing-plus.rs @@ -0,0 +1,14 @@ +// check-pass +// aux-build:test-macros.rs +// compile-flags: -Z span-debug + +#![no_std] // Don't load unnecessary hygiene information from std +extern crate std; + +extern crate test_macros; + +#[test_macros::print_attr] +fn foo<T>() where T: Copy + { +} + +fn main() {} |