summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-106837.rs
blob: 7bbd3d68a900eb2ff4d0783a2aa647270b72c0ee (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    concat!(-42);
    concat!(-3.14);

    concat!(-"hello");
    //~^ ERROR expected a literal

    concat!(--1);
    //~^ ERROR expected a literal
}