Commit e03f7a0e by Jason Merrill

x

From-SVN: r21146
parent 4d59ab3f
// Build don't link:
class Y {
public:
void operator +(int) const;
};
namespace X {
extern Y const& z;
}
void f(void) {
X::z + 1;
}
namespace NS
{
template <typename T>
void solver (){}
}
template<typename T>
void solver(){}
int main()
{
solver<double>();
NS::solver<double>();
}
//Build don't link: //Build don't link:
template class x {}; // ERROR - not a template instantiation template class x {}; // ERROR - not a template instantiation XFAIL *-*-*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment