mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
15 lines
433 B
Rust
15 lines
433 B
Rust
//@ aux-build: decl_with_default.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 there's no explicit declaration, the default should be called from the declaring crate.
|
|
|
|
extern crate decl_with_default;
|
|
|
|
fn main() {
|
|
decl_with_default::decl1(10);
|
|
}
|