2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:meta-delim.rs
|
|
|
|
|
//@ edition:2018
|
|
|
|
|
//@ run-pass
|
2020-06-29 09:55:28 -04:00
|
|
|
|
|
|
|
|
// Tests that we can properly deserialize a macro with strange delimiters
|
|
|
|
|
// See https://github.com/rust-lang/rust/pull/73569#issuecomment-650860457
|
|
|
|
|
|
|
|
|
|
extern crate meta_delim;
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
assert_eq!("a bunch of idents", meta_delim::meta_delim!(a bunch of idents));
|
|
|
|
|
}
|