Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/overload8.C

raw
1 // { dg-do assemble }
2
3 // Simplified from bug report by Tim Rowley <[email protected]>
4
5 struct baz;
6
7 void operator*(baz&, double);
8
9 template <class T> inline T operator*(double s, const T &p)
10 ; // { dg-bogus "" } - must have argument of class type -
11
12 void m(baz& a) { a * .5; }