Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/test18130.d(8): Error: variable `test18130.foo.v` zero-length `out` parameters are not allowed.
5 ---
6 */
7 // https://issues.dlang.org/show_bug.cgi?id=18130
8 void foo(out byte[0] v)
9 {
10 }