void main()
{
auto n = 08;
}
results in this error:
q.d(3): Error: semicolon expected following auto declaration, not '8'
The code is indeed invalid, but the error seems a bit odd, since it doesn't indicate anything about the leading 0. It should probably say something about 08 being an illegal numeric literal.
Comment #1 by yebblies — 2013-01-16T18:13:11Z
*** This issue has been marked as a duplicate of issue 6033 ***