summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/lto-no-link-whole-rlib/main.rs
blob: 0c658808e6e5da77c06495903a327ad48c2b430f (plain)
1
2
3
4
5
6
7
extern crate lib1;
extern crate lib2;

fn main() {
    assert_eq!(lib1::foo1(), 2);
    assert_eq!(lib2::foo2(), 2);
}