summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/lit-err-in-macro.rs
blob: cff8ee6b40ca67308f3d58a298ab7ca7af3574aa (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! f {
    ($abi:literal) => {
        extern $abi fn f() {}
    }
}

f!("Foo"__);
//~^ ERROR suffixes on string literals are invalid

fn main() {}