Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/ice12907.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice12907.d(10): Error: template lambda has no type
5 ---
6 */
7
8 auto f(void function() g)
9 {
10 return x => (*g)();
11 }