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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
delvoid.C
blob
60f114b31b84f15c19514308fc9a3437146325d6
1
// { dg-do run }
2
// { dg-options "-w" }
3
// Jason Merrill <jason@redhat.com>
4
// Test for deleting a void pointer, which the standard says is undefined,
5
// but which is used by several free C++ programs.
6
7
void *p;
8
9
int main ()
10
{
11
delete [] p;
12
}