rust/tests/incremental/issue-84252-global-alloc.rs

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

13 lines
205 B
Rust
Raw Normal View History

// revisions: cfail1 cfail2
// build-pass
#![crate_type="lib"]
#![crate_type="cdylib"]
#[allow(unused_imports)]
use std::alloc::System;
#[cfg(cfail1)]
#[global_allocator]
static ALLOC: System = System;