blob: 4446e76fde22d421eeea59a4c71912014800f8d4 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/failsafec.d(13): Error: `@safe` function `failsafec.callingsystem` cannot call `@system` delegate `sysdelegate`
---
*/
void delegate() @system sysdelegate;
@safe
void callingsystem()
{
sysdelegate();
}