trisquel-icecat/icecat/third_party/rust/quote/tests/ui/does-not-have-iter-interpolated-dup.rs

9 lines
209 B
Rust

use quote::quote;
fn main() {
let nonrep = "";
// Without some protection against repetitions with no iterator somewhere
// inside, this would loop infinitely.
quote!(#(#nonrep #nonrep)*);
}