summaryrefslogtreecommitdiffstats
path: root/tests/run-make/share-generics-dylib/linked_leaf.rs
blob: e510dad691c572e97b37348c28b69652e3087ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate instance_user_dylib;
extern crate instance_user_a_rlib;
extern crate instance_user_b_rlib;

use std::cell::Cell;

fn main() {

    instance_user_a_rlib::foo();
    instance_user_b_rlib::foo();
    instance_user_dylib::foo();

    let a: Cell<i32> = Cell::new(1);
    a.set(123);
}