gcc/testsuite/gdc.test/fail_compilation/ice8100.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/ice8100.d(11): Error: no property `Q` for type `ice8100.Bar!bool` |
| 5 | fail_compilation/ice8100.d(12): class `Bar` defined here |
| 6 | fail_compilation/ice8100.d(12): Error: template instance `ice8100.Foo!(Bar!bool)` error instantiating |
| 7 | fail_compilation/ice8100.d(13): instantiated from here: `Bar!bool` |
| 8 | --- |
| 9 | */ |
| 10 | |
| 11 | class Foo(T1) { T1.Q r; } |
| 12 | class Bar(T2) : Foo!(Bar!T2) {} |
| 13 | Bar!bool b; |