summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/template-param-usage-13.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/template-param-usage-13.rs')
-rw-r--r--tests/expectations/tests/template-param-usage-13.rs28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/expectations/tests/template-param-usage-13.rs b/tests/expectations/tests/template-param-usage-13.rs
deleted file mode 100644
index 70c1778b..00000000
--- a/tests/expectations/tests/template-param-usage-13.rs
+++ /dev/null
@@ -1,28 +0,0 @@
-#![allow(
- dead_code,
- non_snake_case,
- non_camel_case_types,
- non_upper_case_globals
-)]
-
-#[repr(C)]
-#[derive(Debug, Default, Copy, Clone)]
-pub struct BaseIgnoresT {
- pub x: ::std::os::raw::c_int,
-}
-#[repr(C)]
-#[derive(Debug, Copy, Clone)]
-pub struct CrtpUsesU<U> {
- pub _base: BaseIgnoresT,
- pub usage: U,
- pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<U>>,
-}
-impl<U> Default for CrtpUsesU<U> {
- fn default() -> Self {
- let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
- unsafe {
- ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
- s.assume_init()
- }
- }
-}