gcc/testsuite/gdc.dg/torture/imports/pr108055spec.d
raw| 1 | module imports.pr108055spec; |
| 2 | |
| 3 | template Unqual(T : const U, U) |
| 4 | { |
| 5 | alias Unqual = U; |
| 6 | } |
| 7 | |
| 8 | template FormatSpec(Char) |
| 9 | if (!is(Unqual!Char == Char)) |
| 10 | { |
| 11 | alias FormatSpec = FormatSpec!(Unqual!Char); |
| 12 | } |
| 13 | |
| 14 | struct FormatSpec(Char) |
| 15 | if (is(Unqual!Char == Char)) |
| 16 | { |
| 17 | const(Char)[] nested; |
| 18 | } |