view tests/mini/dgfuncptr.d @ 884:a166ba5bdf2d

Automated merge with http://hg.dsource.org/projects/ldc
author Christian Kamm <kamm incasoftware de>
date Mon, 12 Jan 2009 07:51:39 +0100
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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