```
struct S
{
@disable this();
this(int) {}
this(ref S other) {}
}
void foo(S s) {}
S s = S(3);
foo(s);
```
Fails compilation with a message like "Error: variable `onlineapp.main.__copytmp112` default construction is disabled for type `S`"
Either removing the copy constructor or enabling the default constructor makes this work.
Note that this seems to be only an issue for parameter passing, explicit initializations still work fine for the above definition of S:
S s2 = s;