about summary refs log tree commit diff
path: root/tests/ui/issues/issue-52705/main.rs
blob: 92bd9a279ad887e586278e5a7aa73de9998667d2 (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!");
}