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

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