repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
delete1.C
blob
fc532707451e02bea811a67c3bc6211dc065d7ff
1
// PR c++/15890
2
3
template < typename T >
4
void operator delete ( void* raw ) { // { dg-error "" }
5
delete raw;
6
}
7
8
class A { };
9
10
int main() {
11
A* a = new A;
12
delete a;
13
}
14