blob: 4553427b8c799475289c6105c47d6f62536f9bd2 [file]
//@ aux-build: decl_with_default.rs
//@ aux-build: impl1.rs
//@ run-pass
//@ check-run-results
//@ ignore-backends: gcc
// FIXME: linking on windows (specifically mingw) not yet supported, see tracking issue #125418
//@ ignore-windows
// Tests EIIs with default implementations.
// When an explicit implementation is given in one dependency, and the declaration is in another,
// the explicit implementation is preferred.
extern crate decl_with_default;
extern crate impl1;
fn main() {
decl_with_default::decl1(10);
}