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
/
test17586.d
blob
fcfb7b7141a6ee326ad6e5fba10c9e85985bb720
1
/* REQUIRED_ARGS: -o- -de
2
TEST_OUTPUT:
3
---
4
fail_compilation/test17586.d(13): Deprecation: `test17586.D.foo` is overriding the deprecated method `test17586.C.foo`
5
---
6
*/
7
8
class
C
{
9
deprecated void
foo
(){}
10
}
11
12
class
D
:
C
{
13
override void
foo
(){}
14
}