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

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