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

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