Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=22529
2
3 /*
4 TEST_OUTPUT:
5 ---
6 fail_compilation/fail22529.d(13): Error: found `return` when expecting `;` following expression
7 ---
8 */
9
10 void main()
11 {
12 foo()
13 return;
14 }