OSDN Git Service

new
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / overload1.C
1 struct A {
2   A operator+ (int) const { return *this; }
3 };
4
5 A operator+ (A, float);
6
7 main ()
8 {
9   A a;
10   a + 1;
11 }