mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
34 lines
338 B
D
34 lines
338 B
D
// https://issues.dlang.org/show_bug.cgi?id=22365
|
|
|
|
class DrawableCache
|
|
{
|
|
Ref _nullDrawable;
|
|
|
|
this()
|
|
{
|
|
debug Log;
|
|
}
|
|
}
|
|
|
|
class DrawableCacheEmpty
|
|
{
|
|
Ref _nullDrawable;
|
|
|
|
this() {}
|
|
}
|
|
|
|
struct Ref
|
|
{
|
|
|
|
~this()
|
|
{
|
|
}
|
|
}
|
|
|
|
void foo()
|
|
{
|
|
try
|
|
debug Log;
|
|
catch (Exception)
|
|
assert(false);
|
|
}
|