* gcc.c-torture/execute/20011219-1.c (main): Make "i" a long.

From-SVN: r48296
This commit is contained in:
Richard Henderson 2001-12-23 19:37:08 -08:00 committed by Richard Henderson
parent c5b3a39ef4
commit 8aad177787
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-12-23 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20011219-1.c (main): Make "i" a long.
2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20011223-1.c: New test.

View File

@ -42,7 +42,7 @@ foo (enum X x, const void *y)
int
main ()
{
int i = 24;
long i = 24;
if (foo (N, &i) != 24)
abort ();
exit (0);