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

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