projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f502d50
)
* g++.dg/cpp0x/initlist96.C: Use <initializer_list>.
author
Jason Merrill
<jason@gcc.gnu.org>
Thu, 18 Jun 2015 13:44:16 +0000
(09:44 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Thu, 18 Jun 2015 13:44:16 +0000
(09:44 -0400)
From-SVN: r224606
gcc/testsuite/g++.dg/cpp0x/initlist96.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp0x/initlist96.C
b/gcc/testsuite/g++.dg/cpp0x/initlist96.C
index 305565cb697299801e208fc1880f0e2f5faa87b1..45fd128ba8357249d63e6da2d3e58a2b10186116 100644
(file)
--- a/
gcc/testsuite/g++.dg/cpp0x/initlist96.C
+++ b/
gcc/testsuite/g++.dg/cpp0x/initlist96.C
@@
-1,14
+1,7
@@
// PR c++/66515
// { dg-do compile { target c++11 } }
-namespace std
-{
- template <class _E> class initializer_list
- {
- const _E *_M_array;
- unsigned long _M_len;
- };
-}
+#include <initializer_list>
struct type_t { };