rust/tests/ui/resolve/pathless-extern-ok.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
199 B
Rust
Raw Normal View History

2019-09-29 20:17:27 -05:00
//@ edition:2018
//@ compile-flags:--extern alloc
//@ build-pass
// Test that `--extern alloc` will load from the sysroot without error.
fn main() {
let _: Vec<i32> = alloc::vec::Vec::new();
}