summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-52705/main.rs
blob: 90bb8ca7537d58e2699ccacc000951959cbea241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
#![allow(dead_code)]
// aux-build:png2.rs
// compile-flags:--extern png2
// edition:2018

mod png {
    use png2 as png_ext;

    fn foo() -> png_ext::DecodingError { unimplemented!() }
}

fn main() {
    println!("Hello, world!");
}