//@compile-flags: -Zmiri-permissive-provenance
#![feature(core_intrinsics, layout_for_ptr)]
//! Tests for various intrinsics that do not fit anywhere else.
use std::intrinsics;
use std::mem::{size_of, size_of_val, size_of_val_raw};
struct Bomb;
impl Drop for Bomb {
fn drop(&mut self) {
eprintln!("BOOM!");
}
}
fn main() {
assert_eq!(size_of::