Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / expr / ptrmem1.C
blob146143a1e825ffc078990ef247ca35de4f796d91
1 // { dg-do compile }
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 2 Aug 2003 <nathan@codesourcery.com>
6 // PR 11766. ICE
8 template<typename T>
9 struct normal_iterator
11   normal_iterator(const T& __i);
15 template<typename _Tp>
16 struct vector
18   void end() const {  normal_iterator<const _Tp*> (this->pt); }
19   void size() const { end(); }
20   _Tp* pt;
22   
25 struct MuonTag {
26   typedef void (MuonTag::*Selector)();
29 void foo()
31   vector<MuonTag::Selector> _selectors;
32   _selectors.size();