summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/defa.d
blob: 5b4e5897c1f0658d2dd59c6d182569e9aff93b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PERMUTE_ARGS:
// EXTRA_FILES: imports/defaa.d imports/defab.d imports/defac.d imports/defad.d
module defa;

private import imports.defaa;

public abstract class A
{
	Display d;
	int style;

	this() {}

	public this(A parent, int style)
	{
		this.style = style;
		d = parent.d;
	}
}