mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
14 lines
320 B
D
14 lines
320 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail17.d(11): Error: undefined identifier `B`
|
|
fail_compilation/fail17.d(11): Error: mixin `fail17.A!int.A.B!(T, A!T)` is not defined
|
|
fail_compilation/fail17.d(14): Error: template instance `fail17.A!int` error instantiating
|
|
---
|
|
*/
|
|
struct A(T)
|
|
{
|
|
mixin B!(T, A!(T));
|
|
}
|
|
|
|
A!(int) x;
|