summaryrefslogtreecommitdiffstats
path: root/src/test/ui/reachable/unreachable-code-ret.rs
blob: fad35794fae78b73b0eddc93217753f6ace66a0f (plain)
1
2
3
4
5
6
7
8
// error-pattern: unreachable statement

#![deny(unreachable_code)]

fn main() {
    return;
    println!("Paul is dead");
}