| 1 |
// https://issues.dlang.org/show_bug.cgi?id=19609 |
| 2 |
/* |
| 3 |
EXTRA_FILES: imports/fail19609a.d imports/fail19609b.d imports/fail19609c.d imports/fail19609d.d |
| 4 |
TEST_OUTPUT: |
| 5 |
--- |
| 6 |
fail_compilation/imports/fail19609a.d(1): Error: `string` expected for deprecation message, not `([""])` of type `string[]` |
| 7 |
fail_compilation/fail19609.d(16): Deprecation: module `imports.fail19609a` is deprecated |
| 8 |
fail_compilation/imports/fail19609b.d(1): Error: `string` expected for deprecation message, not `([1])` of type `int[]` |
| 9 |
fail_compilation/fail19609.d(17): Deprecation: module `imports.fail19609b` is deprecated |
| 10 |
fail_compilation/imports/fail19609c.d(1): Error: `string` expected for deprecation message, not `(123.4F)` of type `float` |
| 11 |
fail_compilation/fail19609.d(18): Deprecation: module `imports.fail19609c` is deprecated |
| 12 |
fail_compilation/imports/fail19609d.d(1): Error: undefined identifier `msg` |
| 13 |
fail_compilation/fail19609.d(20): Deprecation: module `imports.fail19609d` is deprecated |
| 14 |
--- |
| 15 |
*/ |
| 16 |
import imports.fail19609a; |
| 17 |
import imports.fail19609b; |
| 18 |
import imports.fail19609c; |
| 19 |
enum msg = "You should not be able to see me"; |
| 20 |
import imports.fail19609d; |