| 1 |
/* |
| 2 |
REQUIRED_ARGS: -de |
| 3 |
TEST_OUTPUT: |
| 4 |
--- |
| 5 |
fail_compilation/parse19277.d(13): Deprecation: storage class `ref` has no effect in type aliases |
| 6 |
fail_compilation/parse19277.d(14): Deprecation: storage class `__gshared` has no effect in type aliases |
| 7 |
fail_compilation/parse19277.d(15): Deprecation: storage class `static` has no effect in type aliases |
| 8 |
fail_compilation/parse19277.d(16): Deprecation: storage class `extern` has no effect in type aliases |
| 9 |
fail_compilation/parse19277.d(17): Deprecation: storage class `scope` has no effect in type aliases |
| 10 |
--- |
| 11 |
*/ |
| 12 |
|
| 13 |
alias T = ref int; |
| 14 |
alias U = __gshared int; |
| 15 |
alias V = static int; |
| 16 |
alias W = extern int; |
| 17 |
alias Dg = scope void delegate(); |
| 18 |
|
| 19 |
alias F = ref pure nothrow @nogc @safe @live int function(); |
| 20 |
alias G = ref pure nothrow @nogc @system @live int delegate(); |