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
/
fail188.d
blob
6809e10087bb23f7fa62b491e5fed34e6c10ce76
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail188.d(15): Error: function `fail188.Derived.foo` cannot override `final` function `fail188.Base.foo`
5
---
6
*/
7
8
class
Base
9
{
10
final void
foo
() {}
11
}
12
13
class
Derived
:
Base
14
{
15
void
foo
() {}
16
}