summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/share-generics-dylib/instance_provider_b.rs
blob: f613db873e6c6c41d6e1380db7fcf755a4328f34 (plain)
1
2
3
4
5
6
use std::cell::Cell;

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