]> git.lizzy.rs Git - rust.git/blob - tests/incremental/issue-84252-global-alloc.rs
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / incremental / issue-84252-global-alloc.rs
1 // revisions: cfail1 cfail2
2 // build-pass
3
4 #![crate_type="lib"]
5 #![crate_type="cdylib"]
6
7 #[allow(unused_imports)]
8 use std::alloc::System;
9
10 #[cfg(cfail1)]
11 #[global_allocator]
12 static ALLOC: System = System;