diff --git a/src/lib.rs b/src/lib.rs index 85b6dc77e4..facc55fee7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -195,4 +195,4 @@ pub fn __rustc_codegen_backend() -> Box { } -/// https://github.com/bjorn3/rustc_codegen_cranelift/blob/1b8df386aa72bc3dacb803f7d4deb4eadd63b56f/src/base.rs \ No newline at end of file +// https://github.com/bjorn3/rustc_codegen_cranelift/blob/1b8df386aa72bc3dacb803f7d4deb4eadd63b56f/src/base.rs \ No newline at end of file diff --git a/tests/empty.rs b/tests/empty.rs index a19d485979..2f9d590ed4 100644 --- a/tests/empty.rs +++ b/tests/empty.rs @@ -29,6 +29,12 @@ unsafe impl<'a, T: ?Sized> Copy for &'a T {} unsafe impl Copy for *const T {} unsafe impl Copy for *mut T {} -pub fn jasper() { - let _ktest = 666666666; +struct Jasper { + data: u32, +} + +pub fn jasper() { + let _ktest = Jasper { + data: 666666 + }; }