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

24 lines
390 B
D

// PERMUTE_ARGS:
// POST_SCRIPT: runnable/extra-files/coverage-postscript.sh
// REQUIRED_ARGS: -cov
// EXECUTE_ARGS: ${RESULTS_DIR}/runnable
struct A
{
bool opEquals(A o) const
{
return false;
}
}
extern(C) void dmd_coverDestPath(string pathname);
void main(string[] args)
{
dmd_coverDestPath(args[1]);
auto a = A();
auto b = A();
assert(a != b);
}