Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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
()
{}