view tests/mini/sqrts.d @ 700:716684a0d63f

Updated rebuild profile for .o output as default, compiler needs to be fixed still. Fixed segfault with ' ldc foo.o -offoo '.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 13 Oct 2008 18:19:43 +0200
parents 1bb99290e03a
children
line wrap: on
line source

module sqrts;

import tango.stdc.math;

double sqrt(double d)
{
    return tango.stdc.math.sqrt(d);
}

void main()
{
}