Source

gdc / gdc.test / compilable / extra-files / xheader.di

Full commit
class C
{
}
void foo(const C c, const(char)[] s, const int* q, const(int*) p)
{
}
void bar(in void* p)
{
}
void f(void function() f2);
class C2;
void foo2(const C2 c);
struct Foo3
{
    int k;
    ~this()
{
k = 1;
}
    this(this)
{
k = 2;
}
}
class C3
{
    @property int get()
{
return 0;
}

}
template foo3(T)
{
T foo3()
{
}
}
template Foo4(T)
{
struct Foo4
{
    T x;
}
}
template C4(T)
{
class C4
{
    T x;
}
}