aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/lookup_err1.rs
blob: 4a96f9ff1403278239689b580b4664dd5c60c182 (plain)
1
2
3
4
5
6
7
fn test() {
    fn nested() {}
}

fn main() {
    nested(); // { dg-error "Cannot find path .nested. in this scope" }
}