]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/two-allocators.rs
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / allocator / two-allocators.rs
1 use std::alloc::System;
2
3 #[global_allocator]
4 static A: System = System;
5 #[global_allocator]
6 static B: System = System;
7 //~^ ERROR: cannot define multiple global allocators
8
9 fn main() {}