blob: 6b85cefcd37db9babb68658aecff150b801b8312 [file] [log] [blame]
// PR c++/27581
// { dg-do compile }
struct A
{
template<int> static void foo();
static void bar() { this->A::foo<0>(); } // { dg-error "unavailable|not a class|expected" }
};