 
 void TestExclusiveScanNullPtr(void)
 {
+#if defined(__APPLE__)
+  KNOWN_FAILURE;
+#endif
+
   thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);
 
   bool caught_exception = false;

    cudaThreadExit();
  }

  ASSERT_EQUAL(true,caught_exception);
}
DECLARE_UNITTEST(TestTransformNullPtr);

void TestReduceNullPtr(void)
{
  thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);

  bool caught_exception = false;


void TestTransformNullPtr(void)
{
#if defined(__APPLE__)
  KNOWN_FAILURE;
#endif

  thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);

  bool caught_exception = false;
