view test/bug48.d @ 333:f7190d9eb70c trunk

[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors. Fix tests makefile and add minimize to gc.d.
author ChristianK
date Sat, 12 Jul 2008 09:23:14 +0200
parents fd32135dca3e
children
line wrap: on
line source

module bug48;

size_t func(void *p)
{
    return cast(size_t)*cast(void* *)p;
}

void main()
{
}