about summary refs log tree commit diff
path: root/tests/ui/cross-crate/inline-cross-crate.rs
blob: 273aa8f8f0d81510cf243e216c66de30c8417783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! Dpn't ice on using an inlined function from another crate
//! See <https://github.com/rust-lang/rust/issues/18502> and
//! <https://github.com/rust-lang/rust/issues/18501>

//@ run-pass
//@ aux-build:inline-cross-crate.rs

extern crate inline_cross_crate as fmt;

fn main() {
    ::fmt::baz();
}