]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
implicit-typename1.C: Qualify types.
authorRichard Guenther <rguenther@suse.de>
Sat, 9 Dec 2006 17:40:13 +0000 (17:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 9 Dec 2006 17:40:13 +0000 (17:40 +0000)
2006-12-09  Richard Guenther  <rguenther@suse.de>

* g++.dg/warn/implicit-typename1.C: Qualify types.
* g++.dg/parse/crash12.C: Likewise.
* g++.dg/tree-ssa/pr22444.C: Likewise.

From-SVN: r119693

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash12.C
gcc/testsuite/g++.dg/tree-ssa/pr22444.C
gcc/testsuite/g++.dg/warn/implicit-typename1.C

index b78b3ab2931fe3f9e77ac01268e13a94ea78b8d3..74246f22db081c5a8917a953e9060046245d7b86 100644 (file)
@@ -1,3 +1,9 @@
+2006-12-09  Richard Guenther  <rguenther@suse.de>
+
+       * g++.dg/warn/implicit-typename1.C: Qualify types.
+       * g++.dg/parse/crash12.C: Likewise.
+       * g++.dg/tree-ssa/pr22444.C: Likewise.
+
 2006-12-09  Tobias Burnus  <burnus@net-b.de>
 
        * gfortran.dg/array_2.f90: Added sqrt test.
index a936e8c30ee0df456f22fe8673943afc4c072a4f..769ca2e934346e4ebe38ca4c9c97d560266166bb 100644 (file)
@@ -9,8 +9,8 @@ template <class _Tp>
 class counted_ptr
 {
 public:
-  counted_ptr(auto_ptr<_Tp>& __a);             // { dg-error "candidate" }
-  auto_ptr<_Tp> auto_ptr();
+  counted_ptr(::auto_ptr<_Tp>& __a);           // { dg-error "candidate" }
+  ::auto_ptr<_Tp> auto_ptr();
 };
 
 template <class _Tp>
index 303a74d76755f9762136deb85dafa36586de1f23..f37c7f6f12e9e4c77f1b785c928bdc06c7af9559 100644 (file)
@@ -103,10 +103,10 @@ namespace std
   };
   template<typename _Key, typename _Val, typename _KeyOfValue, typename _Compare, typename _Alloc = allocator<_Val> > struct _Rb_tree
   {
-    typedef typename _Alloc::template rebind<_Rb_tree_node<_Val> >::other _Node_allocator;
+    typedef typename _Alloc::template rebind<std::_Rb_tree_node<_Val> >::other _Node_allocator;
     typedef _Rb_tree_node_base* _Base_ptr;
     typedef const _Rb_tree_node_base* _Const_Base_ptr;
-    typedef _Rb_tree_node<_Val> _Rb_tree_node;
+    typedef std::_Rb_tree_node<_Val> _Rb_tree_node;
     typedef _Key key_type;
     typedef _Val value_type;
     typedef value_type* pointer;
index 3278791810a962518a25389c0e9524c52d4e7a72..2952e6fd001db72a0fb31d863ae0e7c51b7517a3 100644 (file)
@@ -13,5 +13,5 @@ template <typename T> struct C {
 };
 
 template <typename T> struct A : public C<T> {
-  typedef X<int> X;
+  typedef ::X<int> X;
 };