* gcc.c-torture/execute/990106-1.c: New test.
From-SVN: r24504
This commit is contained in:
parent
52f7bca7c4
commit
e2ba7b0e73
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue