mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
348 B
D
16 lines
348 B
D
// REQUIRED_ARGS: -Icompilable/imports
|
|
// EXTRA_FILES: imports/test19746a.d imports/test19746b.d imports/test19746c.d imports/test19746d.d
|
|
import test19746c;
|
|
import test19746b: Frop;
|
|
|
|
template Base(T)
|
|
{
|
|
static if (is(T == super)) alias Base = Object;
|
|
}
|
|
|
|
class Foo
|
|
{
|
|
class Nested: Base!Foo { }
|
|
void func(Frop) { }
|
|
void thunk() { }
|
|
}
|