view test/imports_1of2.d @ 85:f869c636a113 trunk

[svn r89] Fixed a bunch of problems with template instance across multiple modules. Fixed initialization of function local static variables, with a non const initializer (now happens on first call using a global to make sure it only happens once.)
author lindquist
date Fri, 02 Nov 2007 06:32:32 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

module imports_1of2;

import imports_2of2;

void main()
{
    assert(func() == 42);
    S s;
    s.l = 32;
    assert(s.l == 32);
}