]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* g++.dg/cpp0x/initlist96.C: Use <initializer_list>.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 2015 13:44:16 +0000 (13:44 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 2015 13:44:16 +0000 (13:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224606 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/cpp0x/initlist96.C

index 305565cb697299801e208fc1880f0e2f5faa87b1..45fd128ba8357249d63e6da2d3e58a2b10186116 100644 (file)
@@ -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 { };