view tests/mini/dgfuncptr.d @ 1597:761bf823e59e

Fix definition of _Unwind_Action. Thanks to Garrison.
author Christian Kamm <kamm incasoftware de>
date Fri, 18 Dec 2009 18:59:14 +0100
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

  if(dg.funcptr is null)
  { assert(0); }
}