[svn r5] Initial commit. Most things are very rough.

This commit is contained in:
Tomas Lindquist Olsen
2007-09-01 21:43:27 +02:00
parent 1c23dd2cdc
commit 34699bbb07
227 changed files with 84269 additions and 0 deletions

24
test/structinit.d Normal file
View File

@@ -0,0 +1,24 @@
module structinit;
import structinit2;
struct S
{
uint ui;
float f;
long l;
real r;
}
S adef;
S a = { 1, 2.0f };
S b = { f:2.0f, l:42 };
Imp imp;
void main()
{
//assert(a == S.init);
//assert(b == S(0,3.14f,0,real.init));
}