Source

gdc / gdc.test / fail_compilation / fail199.d

Full commit
1
2
3
4
5
6
7
8
9
import std.stdio;

deprecated class DepClass {
    void test() {
        writefln("Accessing what's deprecated!");
    }
}

class Derived : DepClass {}