Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
failsafec.d
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
();
}