This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cvs: ICE on using using


Hi!

Sorry, I am here again to complain, but I cannot live without those
using directives anymore, so please drop me a note when You
fixed that one:


class C {
  enum Enum { one, too, tree };
};

template <class T>
struct Test
{
  void DoSomething();
};


template <class T>
void Test<T>::DoSomething()
{
  using T::one;
}

int main() {}


g++  GCC-3.4-TypenameIssue.CGCC-3.4-TypenameIssue.C: In member function `void Test<T>::DoSomething()':
GCC-3.4-TypenameIssue.C:18: internal compiler error: in
   validate_nonmember_using_decl, at cp/decl2.c:4132
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]