☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail9773.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail9773.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail9773.d(7): Error: cannot create default argument for `ref` / `out` parameter from expression `""` because it is not an lvalue
5
---
6
*/
7
void f(ref string a = "")
8
{
9
a = "crash and burn";
10
}