view tests/mini/dgfuncptr.d @ 842:e66c627c177e

Update tango patch for newest tango.
author Christian Kamm <kamm incasoftware de>
date Mon, 08 Dec 2008 17:09:13 +0100
parents 4435f57956e7
children
line wrap: on
line source

void main()
{
  void foo() {}

  auto dg = &foo;

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