1
Fork 0

Skip ZST arguments

Fixes #413 and increases compatibility with cg_llvm
This commit is contained in:
bjorn3 2019-03-26 19:53:04 +01:00
parent 47b1ef24e4
commit 0df3b41630
4 changed files with 49 additions and 96 deletions

View file

@ -206,4 +206,6 @@ fn main() {
}
unsafe { assert_eq!(ABC as usize, 0); }
&mut (|| Some(0 as *const ())) as &mut FnMut() -> Option<*const ()>;
}