view tests/mini/dgfuncptr.d @ 1041:9dca7182aa75

Added some documentation for the IrFuncTyArg structure, which is key to writing ABI transformations.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 04 Mar 2009 16:13:16 +0100
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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