OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* [various.C]: Adjust for C++11 mode.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.abi
/
arraynew.C
diff --git
a/gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
b/gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
index
ff19c7e
..
7efea81
100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
+++ b/
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
@@
-8,7
+8,10
@@
void* p;
-void* operator new[](size_t s) throw (std::bad_alloc)
+void* operator new[](size_t s)
+#if __cplusplus <= 199711L
+ throw (std::bad_alloc)
+#endif
{
// Record the base of the last array allocated.
p = malloc (s);