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