rust/tests/run-make/share-generics-dylib/linked_leaf.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
294 B
Rust
Raw Normal View History

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);
}