mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-19 18:46:30 +00:00
13 lines
153 B
C++
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;
|
||
|
}
|