☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail9735.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail9735.d
code
plain
raw
1
/*
2
REQUIRED_ARGS: -de
3
TEST_OUTPUT:
4
---
5
fail_compilation/fail9735.d(10): Deprecation: casting from void delegate() to void* is deprecated
6
---
7
*/
8
9
void* dg2ptr(void delegate() dg) {
10
return cast(void*) dg;
11
}