Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/test17586.d

raw
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 }