rust/tests/ui/parser/keyword-break-as-identifier.rs

6 lines
172 B
Rust
Raw Normal View History

// This file was auto-generated using 'src/etc/generate-keyword-tests.py break'
fn main() {
let break = "foo"; //~ error: expected identifier, found keyword `break`
}