www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Forward referencing issues with CTFE

Does not compile:
static const int i = foo();
int foo () { return 0; }

Compiles:
int foo () { return 0; }
static const int i = foo();


see anything relating to it in bugzilla yet.
Nov 05 2007