Commit a66c6fe2 by Jason Merrill

new

From-SVN: r20228
parent db36eaf7
//Build don't link:
template<class T>
class C
{
public:
C<T*> O();
C<T*> O() const;
};
int
main()
{
C<char*> c;
char* p = Z(c.O); //ERROR - ambiguous c.O
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment