Fixed intToPtr to fn type when the address is hardcoded (#1842)

* Fixed intToPtr to fn type

* Added test

* Import inttoptr.zig in behavior.zig
45e72c0b39Jimmi Holst Christensen committed on 12/19/2018, 2:39:18 PM· committed by Andrew Kelleyparent260c3d9
3 files changedLine totals unavailable