@@ -0,0 +1,551 @@
+package com.amd.aparapi.test;%0D%0A%0D%0Aimport com.amd.aparapi.Kernel;%0D%0A%0D%0Apublic class NaN extends Kernel%7B%0D%0A      @Override public void run() %7B%0D%0A         double d = 1.0E-10;        %0D%0A      %7D%0D%0A%7D%0D%0A/**%7BOpenCL%7B%0D%0A#pragma OPENCL EXTENSION cl_khr_fp64 : enable%0D%0A%0D%0Atypedef struct This_s%7B%0D%0A   %0D%0A   int passid;%0D%0A%7DThis;%0D%0Aint get_pass_id(This *this)%7B%0D%0A   return this-%3Epassid;%0D%0A   %7D%0D%0A%0D%0A__kernel void run(%0D%0A   int passid%0D%0A)%7B%0D%0A   This thisStruct;%0D%0A   This* this=&thisStruct;%0D%0A   this-%3Epassid = passid;%0D%0A   %7B%0D%0A      double d = 1.0E-10;%0D%0A      return;%0D%0A   %7D%0D%0A%7D%0D%0A%7DOpenCL%7D**/%0D%0A

Test for issue #50 and #27