URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [delvoid.C] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// { dg-options "-w" }
// Jason Merrill <jason@redhat.com>
// 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;
}
Go to most recent revision | Compare with Previous | Blame | View Log