mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
13 lines
421 B
D
13 lines
421 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice8100.d(11): Error: no property `Q` for type `ice8100.Bar!bool`
|
|
fail_compilation/ice8100.d(12): class `Bar` defined here
|
|
fail_compilation/ice8100.d(12): Error: template instance `ice8100.Foo!(Bar!bool)` error instantiating
|
|
fail_compilation/ice8100.d(13): instantiated from here: `Bar!bool`
|
|
---
|
|
*/
|
|
|
|
class Foo(T1) { T1.Q r; }
|
|
class Bar(T2) : Foo!(Bar!T2) {}
|
|
Bar!bool b;
|