Skip to content

Commit

Permalink
Adds 'ICE: Intrinsics cannot be used as bare functions'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Tavares committed Oct 23, 2015
1 parent 10e8088 commit 952b914
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/15694.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
use std::mem;
fn main() {
let _: unsafe extern "rust-intrinsic" fn(isize) -> usize = mem::transmute;
}

0 comments on commit 952b914

Please sign in to comment.