OSDN Git Service

* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / overload1.C
index dde6d4f..8a833aa 100644 (file)
@@ -1,10 +1,11 @@
+// { dg-do run  }
 struct A {
   A operator+ (int) const { return *this; }
 };
 
 A operator+ (A, float);
 
-main ()
+int main ()
 {
   A a;
   a + 1;