diff options
Diffstat (limited to 'tests/ui/allocator/auxiliary/helper.rs')
-rw-r--r-- | tests/ui/allocator/auxiliary/helper.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/allocator/auxiliary/helper.rs b/tests/ui/allocator/auxiliary/helper.rs new file mode 100644 index 000000000..008fb3501 --- /dev/null +++ b/tests/ui/allocator/auxiliary/helper.rs @@ -0,0 +1,11 @@ +// no-prefer-dynamic + +#![crate_type = "rlib"] +#![no_std] + +extern crate alloc; +use alloc::fmt; + +pub fn work_with(p: &fmt::Debug) { + drop(p); +} |