mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
13 lines
207 B
Rust
13 lines
207 B
Rust
//@ 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;
|