OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/8316, c++/9315, c++/10136
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
delvoid.C
1
// Jason Merrill <jason@redhat.com>
2
// Special g++ Options: -w
3
// Test for deleting a void pointer, which the standard says is undefined,
4
// but which is used by several free C++ programs.
5
6
void *p;
7
8
int main ()
9
{
10
delete [] p;
11
}