blob: c59737a8938900bc1d94d4694e87cb37d2535c4c [file] [log] [blame]
// PR c++/44039
struct locale { };
template<class charT>
void
foo()
{ locale::locale(); } // { dg-error "cannot call|function-style" }
void
bar()
{ foo<char>(); }