Sign in
fuchsia
/
third_party
/
rust
/
87ef96d3946ed4add766c0a2cd72d8443e92e4a0
/
.
/
src
/
test
/
ui
/
allocator
/
two-allocators.rs
blob: c967a45c7b48505bac124566953b33dcc8546468 [
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
()
{}