Mercurial > projects > ldc
view test/sqrts.d @ 102:027b8d8b71ec trunk
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies.
ClassInfo is now has the most useful(biased?) members working.
Probably other stuf...
author | lindquist |
---|---|
date | Sun, 18 Nov 2007 06:52:57 +0100 |
parents | 70d6113eeb8c |
children | d9d5d59873d8 |
line wrap: on
line source
module sqrts; import std.c.math; double sqrt(double d) { return std.c.math.sqrt(d); } void main() { }