aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test19809.d
blob: 3344ef11059e119eb039366d481eb1a7a1160606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://issues.dlang.org/show_bug.cgi?id=19809
mixin template Impl(M...)
{
    int opCmp(Object o) { return 0; }
}

class C
{
    override
    {
        int function(int) fp = ((int x) => x);
        mixin Impl!("x", "y", ((int x) => x));
    }
}