* gcc.c-torture/execute/990106-1.c: New test.

From-SVN: r24504
This commit is contained in:
Jeffrey A Law 1999-01-06 01:25:09 +00:00 committed by Jeff Law
parent 52f7bca7c4
commit e2ba7b0e73
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Jan 6 02:21:59 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990106-1.c: New test.
Wed Dec 30 23:05:28 1998 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/compile/981223-1.c: New test.

View File

@ -0,0 +1,16 @@
foo(bufp)
char *bufp;
{
int x = 80;
return (*bufp++ = x ? 'a' : 'b');
}
main()
{
char x;
if (foo (&x) != 'a')
abort ();
exit (0);
}