repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
disable_new.d
blob
647d47f487be43bda28333a5b98cbe2ddc69aa99
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
}