mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
24 lines
390 B
D
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);
|
|
}
|