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, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail52.d
blob
9743be257216a9e4200b5f04e88d10525b74919f
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail52.d(10): Error: class `fail52.C` circular inheritance
5
---
6
*/
7
8
class
A
:
B
{
void
f
(); }
9
class
B
:
C
{
override void
g
(); }
10
class
C
:
A
{
void
g
(); }