]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/two-allocators.rs
Auto merge of #62908 - fakenine:normalize_use_of_backticks_compiler_messages_p17...
[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 more than one `#[global_allocator]`
8
9 fn main() {}