URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [overload8.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// 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)
; // { dg-bogus "" "" } - must have argument of class type -
void m(baz& a) { a * .5; }
Go to most recent revision | Compare with Previous | Blame | View Log