about summary refs log tree commit diff
path: root/tests/ui/cross-crate/exporting-impl-from-root-causes-ice-2472.rs
blob: c6cfae1e5452cb4051d8a9d50a83f1951659b353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@ run-pass
//@ aux-build:exporting-impl-from-root-causes-ice-2472-b.rs
//@ ignore-ios FIXME(madsmtm): For some reason the necessary dylib isn't copied to the remote?
//@ ignore-tvos FIXME(madsmtm): For some reason the necessary dylib isn't copied to the remote?
//@ ignore-watchos FIXME(madsmtm): For some reason the necessary dylib isn't copied to the remote?
//@ ignore-visionos FIXME(madsmtm): For some reason the necessary dylib isn't copied to the remote?

extern crate exporting_impl_from_root_causes_ice_2472_b as lib;

use lib::{S, T};

pub fn main() {
    let s = S(());
    s.foo();
    s.bar();
}

// https://github.com/rust-lang/rust/issues/2472