☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag2452.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag2452.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/diag2452.d(14): Error: class `diag2452.C` interface function `void f(float p)` is not implemented
5
---
6
*/
7
8
interface I
9
{
10
void f(int p);
11
void f(float p);
12
}
13
14
class C : I
15
{
16
void f(int p) { }
17
}