]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/share-generics-dylib/instance_provider_a.rs
Rollup merge of #107731 - RalfJung:interpret-discriminant, r=cjgillot
[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 }