repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test17130.d
blob
f3f5c3b45b97e95eee6e205ec0da165c041e41c7
1
class
Base
2
{
3
this
()
shared
4
{}
5
6
this
()
7
{}
8
}
9
10
class
Derived1
:
Base
11
{
12
this
()
13
{
14
// implicit super();
15
}
16
}
17
18
class
Derived2
:
Base
19
{
20
// implicit this()
21
}
22
23
class
Base2
24
{
25
this
()
shared
26
{}
27
}
28
29
class
Derived3
:
Base2
30
{
31
// implicit this() shared
32
}
33
34
void
test
()
35
{
36
auto
d2
=
new
Derived2
;
37
auto
d3
=
new shared
(
Derived3
);
38
}