From 0cbb6caf1f84373d04397db6739a74d8e020715e Mon Sep 17 00:00:00 2001 From: ville-h Date: Sat, 24 Oct 2015 17:05:57 +0300 Subject: [PATCH] https://github.com/rust-lang/rust/issues/15694 --- src/15694.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/15694.rs diff --git a/src/15694.rs b/src/15694.rs new file mode 100644 index 00000000..f3e69e99 --- /dev/null +++ b/src/15694.rs @@ -0,0 +1,4 @@ +use std::mem; +fn main() { + let foo: unsafe extern "rust-intrinsic" fn(int) -> uint = mem::transmute; +}