* gcc.dg/20001117-1.c: Add main.
From-SVN: r37854
This commit is contained in:
parent
f3b55474b6
commit
78cd99d0ab
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user