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

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