view test/bug48.d @ 115:5ba6d286c941 trunk

[svn r119] Added the monitor data field that comes after the vtable pointer to all classes. Represented as a void* initialized to zero.
author lindquist
date Sun, 25 Nov 2007 03:58:55 +0100
parents fd32135dca3e
children
line wrap: on
line source

module bug48;

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

void main()
{
}