implicit-typename1.C: Qualify types.
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
This commit is contained in:
parent
efe75b6f9f
commit
8aa25857e0
@ -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.
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user