Or, you can just rewrite tests to:

```d
static assert(!__traits(compiles, { auto c1 = cast(C)csd; }));
static assert(!__traits(compiles, { auto c2 = cast(C)css; }));
```

Because this PR moves glue-layer error to front-end.