gcc/testsuite/gdc.test/fail_compilation/fail17.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail17.d(11): Error: undefined identifier `B` |
| 5 | fail_compilation/fail17.d(11): Error: mixin `fail17.A!int.A.B!(T, A!T)` is not defined |
| 6 | fail_compilation/fail17.d(14): Error: template instance `fail17.A!int` error instantiating |
| 7 | --- |
| 8 | */ |
| 9 | struct A(T) |
| 10 | { |
| 11 | mixin B!(T, A!(T)); |
| 12 | } |
| 13 | |
| 14 | A!(int) x; |