| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/test14064.d(11): Error: `private` is a keyword, not an `@` attribute |
| 5 |
fail_compilation/test14064.d(12): Error: `deprecated` is a keyword, not an `@` attribute |
| 6 |
fail_compilation/test14064.d(13): Error: `pure` is a keyword, not an `@` attribute |
| 7 |
fail_compilation/test14064.d(14): Error: `nothrow` is a keyword, not an `@` attribute |
| 8 |
fail_compilation/test14064.d(15): Error: `in` is a keyword, not an `@` attribute |
| 9 |
--- |
| 10 |
*/ |
| 11 |
@private int v; |
| 12 |
@deprecated void foo(); |
| 13 |
int goo() @pure; |
| 14 |
@nothrow unittest {}; |
| 15 |
void zoom(@in int x); |