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