Add test for #95.

This commit is contained in:
Scott Olson 2016-12-21 17:26:52 -08:00
parent 6d1c47b6ef
commit d6e35fe46f

View file

@ -0,0 +1,12 @@
struct Foo {
_inner: i32,
}
fn main() {
unsafe {
let foo = Foo {
_inner: std::mem::uninitialized(),
};
let _bar = foo;
}
}