]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pathless-extern-ok.rs
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / pathless-extern-ok.rs
1 // edition:2018
2 // compile-flags:--extern alloc
3 // build-pass
4
5 // Test that `--extern alloc` will load from the sysroot without error.
6
7 fn main() {
8     let _: Vec<i32> = alloc::vec::Vec::new();
9 }