diff options
Diffstat (limited to 'tests/ui/allocator/not-an-allocator.rs')
| -rw-r--r-- | tests/ui/allocator/not-an-allocator.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/allocator/not-an-allocator.rs b/tests/ui/allocator/not-an-allocator.rs new file mode 100644 index 00000000000..4a538d4d0a0 --- /dev/null +++ b/tests/ui/allocator/not-an-allocator.rs @@ -0,0 +1,8 @@ +#[global_allocator] +static A: usize = 0; +//~^ ERROR E0277 +//~| ERROR E0277 +//~| ERROR E0277 +//~| ERROR E0277 + +fn main() {} |
