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

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