Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail39.d
blob: 65472cf614ebc9dae7dd95c3caf91dfa6aa8bb1d [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail39.d(11): Error: function fail39.main.__funcliteral2 cannot access frame of function D main
---
*/
void
main
()
{
void
foo
()
{}
void
function
()
bar
=
function
void
()
{
foo
();
};
}