blob: bbc9e51aff6ae4c5891928725c0334ef7b1865db [file] [log] [blame]
// { dg-do assemble }
template<class T>
class C
{
public:
C<T*> O();
C<T*> O() const;
};
int
main()
{
C<char*> c;
char* p = Z(c.O); //{ dg-error "29:'Z' was not declared" } ambiguous c.O
}