summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test19746.d
blob: 28677b09e734cd0699ca05913e1eab04387ca62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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() { }
}