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

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