Does not compile: static const int i = foo(); int foo () { return 0; } Compiles: int foo () { return 0; } static const int i = foo(); Is this a known bug, or is it another thing to append to #340? I didn't see anything relating to it in bugzilla yet.