blob: f841235c60855be2ee9bb51d85f874ca76eb7ae2 [file] [log] [blame]
// PR c++/16965
// LLVM LOCAL
template <typename T> struct B { // { dg-error "" }
static int Bar(T); // { dg-error "" }
};
struct D : B<int>, B<char> {};
int i2 = D::Bar(2); // { dg-error "" }