From-SVN: r34651
This commit is contained in:
Jason Merrill 2000-06-22 16:51:42 -04:00
parent 1d663f67b3
commit be05b70824
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// Jason Merrill <jason@redhat.com>
// Special g++ Options: -w
// Test for deleting a void pointer, which the standard says is undefined,
// but which is used by several free C++ programs.
void *p;
int main ()
{
delete [] p;
}