]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/share-generics-dylib/instance_provider_a.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / run-make-fulldeps / share-generics-dylib / instance_provider_a.rs
1 use std::cell::Cell;
2
3 pub fn foo() {
4     let a: Cell<i32> = Cell::new(1);
5     a.set(123);
6 }