mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
16 lines
246 B
Rust
16 lines
246 B
Rust
// 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!");
|
|
}
|