dmd/compiler/test/fail_compilation/fail10630.d
2022-07-09 18:53:07 +02:00

12 lines
207 B
D

/*
TEST_OUTPUT:
---
fail_compilation/fail10630.d(12): Error: cannot have `out` parameter of type `S` because the default construction is disabled
---
*/
struct S
{
@disable this();
}
void foo(out S) {}