* gcc.c-torture/unsorted/call386.c (foo): Fix return type.
(main): Return success.
* gcc.c-torture/unsorted/subcc.c (foo, bar): Fix return types.
(main): Return success.
From-SVN: r89358
+2004-10-20 Richard Henderson <rth@redhat.com>
+
+ * gcc.c-torture/unsorted/call386.c (foo): Fix return type.
+ (main): Return success.
+ * gcc.c-torture/unsorted/subcc.c (foo, bar): Fix return types.
+ (main): Return success.
+
2004-10-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13495
+void foo () {}
-foo () {}
-
-main ()
+int main ()
{
int i;
for (i = 100000; i >= 0; i--)
foo ();
foo ();
}
+ return 0;
}
-foo (a, c)
+int foo (a, c)
{
int b;
return 0;
}
-bar (a)
+void bar (a)
+ int a;
{
if (foo (a, 10) & 0x80000000)
printf ("y");
printf ("n");
}
-main ()
+int main ()
{
bar (0);
bar (1);
bar (-0x7fffffff);
puts ("");
+ return 0;
}