diff options
Diffstat (limited to 'third_party/rust/paste/tests/ui/invalid-ident.rs')
-rw-r--r-- | third_party/rust/paste/tests/ui/invalid-ident.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/rust/paste/tests/ui/invalid-ident.rs b/third_party/rust/paste/tests/ui/invalid-ident.rs new file mode 100644 index 0000000000..6a8cf3c44b --- /dev/null +++ b/third_party/rust/paste/tests/ui/invalid-ident.rs @@ -0,0 +1,15 @@ +use paste::paste; + +paste! { + fn [<0 f>]() {} +} + +paste! { + fn [<f '"'>]() {} +} + +paste! { + fn [<f "'">]() {} +} + +fn main() {} |