Debian Codegraph @

gcc/testsuite/gdc.test/compilable/disable_new.d

raw
1 class C
2 {
3 // force user of a type to use an external allocation strategy
4 @disable new();
5 }
6
7 struct S
8 {
9 // force user of a type to use an external allocation strategy
10 @disable new();
11 }