]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/share-generics-dylib/instance_user_b_rlib.rs
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se
[rust.git] / tests / run-make-fulldeps / share-generics-dylib / instance_user_b_rlib.rs
1 extern crate instance_provider_b as upstream;
2 use std::cell::Cell;
3
4 pub fn foo() {
5     upstream::foo();
6
7     let b: Cell<i32> = Cell::new(1);
8     b.set(123);
9 }