I have this code:
import std.stdio;
void main()
{
f();
g();
}
void f()
{
writeln("f()");
}
void g()
{
writeln("g()");
}
I compile with the command:
dmd test.d -profile
Then I execute it. It prints:
f()
g()
as expected. Shouldn't it print profiling information as well?