Files
rust/tests/incremental/issue-84252-global-alloc.rs
Zalathar 793c646b7b Migrate bfail/build-pass tests to bpass (1/2)
This is the subset of incremental tests that should continue to use `bpass`
even after `cpass` is supported, because they (presumably) involve codegen.
2026-04-22 12:28:25 +10:00

13 lines
221 B
Rust

//@ revisions: bpass1 bpass2
//@ needs-crate-type: cdylib
#![crate_type="lib"]
#![crate_type="cdylib"]
#[allow(unused_imports)]
use std::alloc::System;
#[cfg(bpass1)]
#[global_allocator]
static ALLOC: System = System;