mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
21 lines
316 B
Rust
21 lines
316 B
Rust
pub fn main() {
|
|
|
|
return;
|
|
return ();
|
|
return as ();
|
|
return return as ();
|
|
return return return;
|
|
|
|
return if true {
|
|
()
|
|
} else {
|
|
()
|
|
};
|
|
|
|
loop {
|
|
return break as ();
|
|
}
|
|
|
|
return enum; //~ ERROR expected one of `;`, `}`, or an operator, found keyword `enum`
|
|
}
|