Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
failsafeb.d
blob: 6af6b6f98c6493fdd0e187bfec5ac866fec18577 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/failsafeb.d(13): Error: `@safe` function `failsafeb.callingsystem` cannot call `@system` function pointer `sysfuncptr`
---
*/
void
function
()
@system
sysfuncptr
;
@safe
void
callingsystem
()
{
sysfuncptr
();
}