summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-match-as-identifier.rs
blob: d3cecb991b8f96c050fa6010b7967a48b5437b4b (plain)
1
2
3
4
5
// This file was auto-generated using 'src/etc/generate-keyword-tests.py match'

fn main() {
    let match = "foo"; //~ error: expected identifier, found keyword `match`
}