Commit e5030c6c by Mark Mitchell

Add test

From-SVN: r19884
parent af02da67
// Build don't run:
template <class T>
class ConstArray {
};
template <class T1, class T2>
void operator+(const ConstArray<T1>&, const ConstArray<T2>&)
{
}
template <class T1, class T2>
void operator+(const ConstArray<T1>&, T2);
template <class T1, class T2>
void operator+(T1, const ConstArray<T2>&);
const ConstArray<int> cai() { return ConstArray<int>(); }
const ConstArray<double> cad() { return ConstArray<double>(); }
int main()
{
cai () + cad ();
}
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