Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gdc.dg / pr100882a.d
blobde92ab3bef1bc1e2f11f7d0af0f8fc3fcc6b1ffb
1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100882
2 // { dg-do compile }
4 struct AllocatorList(Factory)
6 Factory factory;
7 auto make(size_t n) { return factory(n); }
8 this(Factory plant)
10 factory = plant;
14 struct Region
16 ~this()
21 auto mmapRegionList()
23 struct Factory
25 this(size_t )
28 auto opCall(size_t )
30 return Region();
33 auto shop = Factory();
34 AllocatorList!Factory(shop);