view tests/mini/dgfuncptr.d @ 1639:41145d30acb8

Merge.
author Christian Kamm <kamm incasoftware de>
date Mon, 08 Mar 2010 20:09:18 +0100
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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