while working on issue 15235 I've been trying to add some new tests for DMD.

The tests I want to write involve checking that certain asm statements throw syntax errors instead of segfaults, but the fact that asmerr() ends compilation unconditionally is proving to be a problem. __traits(compiles, …) doesn't help (as discovered in issue 15257).

The only solution I can think of would be to have a separate test for each statement. Anyone got a better idea?

Reply via email to