view tests/mini/bug39.d @ 1135:8ebbad15fc99

Remove struct padding which was making this test fail on 64-bit systems.
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 24 Mar 2009 03:14:22 +0100
parents 1bb99290e03a
children
line wrap: on
line source

module bug39;

struct S
{
    long l;
}

void main()
{
    S s;
    s.l = 23;
    void* p = &s;
}