gcc/libitm/testsuite/libitm.c++/newdelete.C
Torvald Riegel c518678b14 Support sized delete.
This adds transactional clones of the sized version of operator delete.

From-SVN: r230036
2015-11-09 17:30:24 +00:00

13 lines
153 B
C

// { dg-do run }
int main ()
{
atomic_commit {
int* data = new int;
delete data;
data = new int[10];
delete[] data;
}
return 0;
}