]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-if-as-identifier.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[rust.git] / src / test / ui / parser / keyword-if-as-identifier.rs
1 // This file was auto-generated using 'src/etc/generate-keyword-tests.py if'
2
3 fn main() {
4     let if = "foo"; //~ error: expected identifier, found keyword `if`
5 }