summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-fn-or-struct.rs
blob: 832831d2920b38bb2552edc6cedc3022e3b94e73 (plain)
1
2
3
4
pub S (foo) bar
//~^ ERROR missing `fn` or `struct` for function or struct definition

fn main() {}