mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
20 lines
213 B
D
20 lines
213 B
D
struct NullableRef15292(T)
|
|
{
|
|
inout(T) get() inout
|
|
{
|
|
assert(false);
|
|
}
|
|
|
|
alias get this;
|
|
}
|
|
|
|
struct S15292
|
|
{
|
|
NullableRef15292!S15292 n;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
S15292 s;
|
|
assert(s == s);
|
|
}
|