* gcc.c-torture/execute/20001017-2.c: New test.

From-SVN: r36924
This commit is contained in:
Matthew Hiller 2000-10-18 02:27:57 +00:00 committed by Jeff Law
parent 19ca869b6d
commit 15edc0cb96
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-10-17 Matthew Hiller <hiller@redhat.com>
* gcc.c-torture/execute/20001017-2.c: New test.
2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20001018-1.c: New test.

View File

@ -0,0 +1,17 @@
void
fn_4parms (unsigned char a, long *b, long *c, unsigned int *d)
{
if (*b != 1 || *c != 2 || *d != 3)
abort ();
}
int
main ()
{
unsigned char a = 0;
unsigned long b = 1, c = 2;
unsigned int d = 3;
fn_4parms (a, &b, &c, &d);
return 0;
}