blob: fb776105f436977add362f6ea0fa782bae5eb7fa [file] [log] [blame]
// PR c++/28999
namespace N
{
template<int> void foo();
}
template<int> struct A
{
friend void typename N::foo<0>(); // { dg-error "type|expected" }
};