Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
bfa98d318f2f2779442c65c28b392924f1651d01
/
.
/
tests
/
ui
/
parser
/
issues
/
fn-no-semicolon-issue-124935-semi-after-item.rs
blob: 3c0059ba3e3e3c29874770d39630c42d9b72172b [
file
] [
log
] [
blame
]
// Regression test for issue #124935
// Tests that we do not erroneously emit an error about
// missing main function when the mod starts with a `;`
;
//~ ERROR expected item, found `;`
fn
main
()
{
}