repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[testsuite] Fix retrieval of testname
[official-gcc.git]
/
libitm
/
testsuite
/
libitm.c++
/
newdelete.C
blob
10eba4f66d9cf17c59bd50726de9c1f1a6771318
1
// { dg-do run }
2
3
int main ()
4
{
5
atomic_commit {
6
int* data = new int;
7
delete data;
8
data = new int[10];
9
delete[] data;
10
}
11
return 0;
12
}