rust/tests/ui/parser/keyword-typeof.rs

4 lines
98 B
Rust

fn main() {
let typeof = (); //~ ERROR expected identifier, found reserved keyword `typeof`
}