blob: cd2cb2313bd3cd805c7189b01f9243a91f137d2b [file] [log] [blame]
//@ revisions: cfail1 cfail2
//@ build-pass
//@ needs-crate-type: cdylib
#![crate_type="lib"]
#![crate_type="cdylib"]
#[allow(unused_imports)]
use std::alloc::System;
#[cfg(cfail1)]
#[global_allocator]
static ALLOC: System = System;