about summary refs log tree commit diff
path: root/src/test/ui/allocator/two-allocators.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/allocator/two-allocators.rs')
-rw-r--r--src/test/ui/allocator/two-allocators.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/allocator/two-allocators.rs b/src/test/ui/allocator/two-allocators.rs
deleted file mode 100644
index aa1291e77ae..00000000000
--- a/src/test/ui/allocator/two-allocators.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use std::alloc::System;
-
-#[global_allocator]
-static A: System = System;
-#[global_allocator]
-static B: System = System;
-//~^ ERROR: cannot define multiple global allocators
-
-fn main() {}