mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
23 lines
325 B
D
23 lines
325 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail8032.d(19): Error: function `fail8032.B.f` cannot determine overridden function
|
|
---
|
|
*/
|
|
mixin template T()
|
|
{
|
|
void f() { }
|
|
}
|
|
|
|
class A {
|
|
mixin T;
|
|
mixin T;
|
|
}
|
|
|
|
class B : A
|
|
{
|
|
override void f() { }
|
|
// raises "cannot determine overridden function" error.
|
|
}
|
|
|
|
void main(){}
|