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

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