* gcc.c-torture/execute/20001017-2.c: New test.
From-SVN: r36924
This commit is contained in:
parent
19ca869b6d
commit
15edc0cb96
@ -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.
|
||||
|
17
gcc/testsuite/gcc.c-torture/execute/20001017-2.c
Normal file
17
gcc/testsuite/gcc.c-torture/execute/20001017-2.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user