summaryrefslogtreecommitdiffstats
path: root/tests/run-make/share-generics-dylib/instance_user_a_rlib.rs
blob: c8e6ab95cf9ceccf9e40bf25005b1c1952098a44 (plain)
1
2
3
4
5
6
7
8
9
extern crate instance_provider_a as upstream;
use std::cell::Cell;

pub fn foo() {
    upstream::foo();

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