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

fn main() {}