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

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