Commit 78cd99d0 by Jakub Jelinek Committed by Jakub Jelinek

* gcc.dg/20001117-1.c: Add main.

From-SVN: r37854
parent f3b55474
......@@ -4,6 +4,8 @@
tests.
* gcc.c-torture/execute/string-opt-6.c: New test.
* gcc.dg/20001117-1.c: Add main.
2000-11-28 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/940510-1.c: Update to test c89 functionality.
......
......@@ -13,3 +13,10 @@ foo (double a, double b)
return 0;
return 2.0 * (b - c);
}
int main ()
{
if (foo (1.0, 4.0) != 6.0)
abort ();
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment