☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
disable_new.d
☽
☼
gcc/testsuite/gdc.test/compilable/disable_new.d
code
plain
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
}