]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/pub-use-xcrate.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / privacy / pub-use-xcrate.rs
1 // run-pass
2 // aux-build:pub_use_xcrate1.rs
3 // aux-build:pub_use_xcrate2.rs
4
5 // pretty-expanded FIXME #23616
6
7 extern crate pub_use_xcrate2;
8
9 use pub_use_xcrate2::Foo;
10
11 pub fn main() {
12     let _foo: Foo = Foo {
13         name: 0
14     };
15 }