Retro68/gcc/libitm/testsuite/libitm.c++/newdelete.C

13 lines
153 B
C++
Raw Normal View History

2017-04-10 11:32:00 +00:00
// { dg-do run }
int main ()
{
atomic_commit {
int* data = new int;
delete data;
data = new int[10];
delete[] data;
}
return 0;
}