summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/keyword-ref-as-identifier.rs
blob: f5e04b5db734666b79256c5bba3fda89fd0fd7fd (plain)
1
2
3
fn main() {
    let ref = "foo"; //~ error: expected identifier, found `=`
}