repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
failsafec.d
blob
979f46c3c167f588bbcbdb4cdaceaadc13748c65
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/failsafec.d(13): Error: `@safe` function `failsafec.callingsystem` cannot call `@system` delegate `sysdelegate`
5
---
6
*/
7
8
void delegate
()
@system
sysdelegate
;
9
10
@safe
11
void
callingsystem
()
12
{
13
sysdelegate
();
14
}