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

From-SVN: r24072
This commit is contained in:
Alexandre Oliva 1998-12-03 13:32:56 +00:00 committed by Alexandre Oliva
parent 10e209e304
commit b0e3f98f89
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,7 @@
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

View File

@ -0,0 +1,12 @@
// 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; }