gcc/testsuite/gdc.test/fail_compilation/fail7178.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail7178.d(10): Error: undefined identifier `contents` in module `fail7178` |
| 5 | fail_compilation/fail7178.d(12): Error: mixin `fail7178.populate!int` error instantiating |
| 6 | --- |
| 7 | */ |
| 8 | template populate(overloads...) |
| 9 | { |
| 10 | mixin populate!(.contents); |
| 11 | } |
| 12 | public mixin populate!int; |