blob: 418e3dd444ddae25b5b936adf4f1d7228ee8d1d8 [file] [log] [blame]
#![feature(proc_macro_quote)]
extern crate proc_macro;
use proc_macro::quote;
fn main() {
let nonrep = "";
// Without some protection against repetitions with no iterator somewhere
// inside, this would loop infinitely.
quote!($($nonrep $nonrep)*); //~ ERROR mismatched types
}