view tests/mini/dgfuncptr.d @ 669:92ec7487a1a0

Fix odd interfaceInfoType bug.
author Christian Kamm <kamm incasoftware de>
date Wed, 08 Oct 2008 20:28:59 +0200
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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