view tests/mini/dgfuncptr.d @ 1312:c8b9406d84ca

Add newline to get rid of warning.
author Christian Kamm <kamm incasoftware de>
date Thu, 07 May 2009 21:07:50 +0200
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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