]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/ctor.rs
1 // Verify that a type is considered reachable when its constructor is
2 // reachable. The auxiliary library is constructed so that all types are
3 // shadowed and cannot be named directly, while their constructors are
4 // reexported. Regression test for issue #96934.
6 // aux-build:ctor_aux.rs
10 extern crate ctor_aux
;