// { dg-do compile } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 2 Aug 2003 // PR 11766. ICE template struct normal_iterator { normal_iterator(const T& __i); }; template struct vector { void end() const { normal_iterator (this->pt); } void size() const { end(); } _Tp* pt; }; struct MuonTag { typedef void (MuonTag::*Selector)(); }; void foo() { vector _selectors; _selectors.size(); }