| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/fix19059.d(16): Error: octal digit expected, not `8` |
| 5 |
fail_compilation/fix19059.d(16): Error: octal literals larger than 7 are no longer supported |
| 6 |
fail_compilation/fix19059.d(17): Error: octal digit expected, not `9` |
| 7 |
fail_compilation/fix19059.d(17): Error: octal literals larger than 7 are no longer supported |
| 8 |
fail_compilation/fix19059.d(18): Error: octal literals `010` are no longer supported, use `std.conv.octal!"10"` instead |
| 9 |
--- |
| 10 |
*/ |
| 11 |
|
| 12 |
// https://issues.dlang.org/show_bug.cgi?id=19059 |
| 13 |
|
| 14 |
void foo() |
| 15 |
{ |
| 16 |
auto a = 08; |
| 17 |
auto b = 09; |
| 18 |
auto c = 010; |
| 19 |
} |