summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-invalid-fragment-spec.rs
blob: dc4d75096af8bccdf33f20e418d0bb557c5a740e (plain)
1
2
3
4
5
6
7
8
macro_rules! foo(
    ($x:foo) => ()
    //~^ ERROR invalid fragment specifier
);

fn main() {
    foo!(foo);
}