1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/fail39.d(11): Error: function fail39.main.__funcliteral2 cannot access frame of function D main 5 --- 6 */ 7 main()8 void main() 9 { 10 void foo() {} 11 void function() bar = function void() { foo(); }; 12 } 13