blob: eedae42cbdf16b95709b05b4b18882a2fc24e513 [file] [log] [blame]
// PR c++/79304
// { dg-do compile }
struct C { };
template<class T>
struct X
{
C* c;
void f() {
this->c.s(); // { dg-error "->c" }
}
};
int main()
{
X<int> x;
x.f();
}