]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/test15292.d
ipa-param-manip: Be careful about a reallocating hash_map
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / test15292.d
1 struct NullableRef15292(T)
2 {
3 inout(T) get() inout
4 {
5 assert(false);
6 }
7
8 alias get this;
9 }
10
11 struct S15292
12 {
13 NullableRef15292!S15292 n;
14 }
15
16 void main()
17 {
18 S15292 s;
19 assert(s == s);
20 }