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