blob: 6e6ecda2c207c100a4a30c4b12f4bef1024d55a7 [file]
//@ ignore-backends: gcc
// FIXME: linking on windows (specifically mingw) not yet supported, see tracking issue #125418
//@ ignore-windows
// Tests whether calling EIIs works with the declaration in the same crate.
#![feature(extern_item_impls)]
#[eii(inline)]
//~^ ERROR `#[inline]` function required, but not found
fn test(x: u64);
#[inline]
//~^ ERROR `inline` is ambiguous
fn test_impl(x: u64) {
println!("{x:?}")
}
fn main() {}