Commit b0e3f98f by Alexandre Oliva Committed by Alexandre Oliva

* g++.old-deja/g++.pt/overload8.C: New test.

From-SVN: r24072
parent 10e209e3
1998-12-03 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/overload8.C: New test.
* g++.old-deja/g++.pt/overload7.C: New test.
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
......
// Build don't link:
// Simplified from bug report by Tim Rowley <tor@cs.brown.edu>
struct baz;
void operator*(baz&, double);
template <class T> inline T operator*(double s, const T &p)
; // gets bogus error - must have argument of class type - XFAIL *-*-*
void m(baz& a) { a * .5; }
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