re PR c++/9727 (ICE in pushclass() with template and conversion operator)

PR c++/9727
	* g++.dg/template/op1.C: New test.

From-SVN: r63245
This commit is contained in:
Mark Mitchell
2003-02-21 21:48:09 +00:00
committed by Mark Mitchell
parent a93d1ba239
commit 19df1edfbe
2 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/9727
* g++.dg/template/op1.C: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/8906

View File

@@ -0,0 +1,12 @@
template <class T> struct X {
typedef int type;
};
template <class T> struct O {
struct I {
operator typename X<T>::type ();
};
};
template <class T>
O<T>::I::operator typename X<T>::type () {}