Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
ui
/
allocator
/
two-allocators.rs
blob: aa1291e77aecbb3a495210ef3b318af7078208fc [
file
] [
log
] [
blame
]
use
std
::
alloc
::
System
;
#[
global_allocator
]
static
A
:
System
=
System
;
#[
global_allocator
]
static
B
:
System
=
System
;
//~^ ERROR: cannot define multiple global allocators
fn
main
()
{}