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

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