☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail3581a.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail3581a.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail3581a.d(9): Error: function `fail3581a.B.f` cannot override a non-virtual function
5
---
6
*/
7
8
class A { void f() {} }
9
class B : A { static override void f() {}; }
10
11
void main() {}