about summary refs log tree commit diff
path: root/tests/ui/force-inlining/cross-crate.rs
blob: a3f0c2c873ea804bc431ad16cb0606eb6dbdd586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ aux-build:callees.rs
//@ build-pass
//@ compile-flags: --crate-type=lib

extern crate callees;

// Test that forced inlining across crates works as expected.

pub fn caller() {
    callees::forced();

    callees::forced_with_reason();
}