mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
250 B
D
16 lines
250 B
D
// REQUIRED_ARGS: -debug -O -release
|
|
// https://issues.dlang.org/show_bug.cgi?id=22277
|
|
|
|
bool secret = false;
|
|
|
|
void free(immutable void* x) pure nothrow
|
|
{
|
|
debug secret = true;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
free(null);
|
|
if (!secret)
|
|
assert(0);
|
|
}
|