Why this code fail?

Andrea Fontana nospam at example.com
Tue Feb 12 16:01:48 PST 2013


class A
{
         auto foo()
         out(result){}
         body { return 42; }
}

void main(string[] args) { }

if you replace "auto" with "int" it works...


More information about the Digitalmars-d mailing list