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