* g++.dg/template/ptrmem20.C: Adjust expected diagnostic.
* g++.dg/template/ptrmem8.C: Likewise.
From-SVN: r264157
void baz()
{
- bar<&B::foo>(); // { dg-error "template argument|no match" }
+ bar<&B::foo>(); // { dg-error "template argument|no match|convert" }
}
int main ()
{
- Get<&B::I>(); // { dg-error "template argument|converted constant" "not valid" }
+ Get<&B::I>(); // { dg-error "template argument|convert" "not valid" }
// { dg-error "no match" "no match" { target *-*-* } .-1 }
- Get<&D::I>(); // { dg-error "template argument|converted constant" "not valid" }
+ Get<&D::I>(); // { dg-error "template argument|convert" "not valid" }
// { dg-error "no match" "no match" { target *-*-* } .-1 }
}