Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail9735.d
blob: 42dbfdce30feaca332f7f9cd9898e5a0fcf3ce36 [
file
] [
log
] [
blame
]
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/fail9735.d(10): Deprecation: casting from void delegate() to void* is deprecated
---
*/
void
*
dg2ptr
(
void
delegate
()
dg
)
{
return
cast
(
void
*)
dg
;
}