Source

gdc / gdc.test / fail_compilation / fail231.d

Full commit
1
2
3
4
5
6
7
8
9
 // bug951   -- File but no line number. func.c
/*
bug.d: constructor bug.Derived.this no match for implicit super() call in const
*/
class Base {
    this(int x) {}
}

class Derived : Base {}