On 4/29/2013 10:19 AM, monarch_dodra wrote: > I'm getting strange behavior trying to cast to pure. This is my > test program: You're casting a C function to a D function. This will cause crashes.