* gcc.c-torture/execute/20030203-1.c: New test.
From-SVN: r62314
This commit is contained in:
parent
5fb486851a
commit
7393205f69
@ -1,3 +1,7 @@
|
||||
Mon Feb 3 16:05:11 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gcc.c-torture/execute/20030203-1.c: New test.
|
||||
|
||||
2003-02-03 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
|
||||
|
23
gcc/testsuite/gcc.c-torture/execute/20030203-1.c
Normal file
23
gcc/testsuite/gcc.c-torture/execute/20030203-1.c
Normal file
@ -0,0 +1,23 @@
|
||||
void f(int);
|
||||
int do_layer3(int single)
|
||||
{
|
||||
int stereo1;
|
||||
|
||||
if(single >= 0) /* stream is stereo, but force to mono */
|
||||
stereo1 = 1;
|
||||
else
|
||||
stereo1 = 2;
|
||||
f(single);
|
||||
|
||||
return stereo1;
|
||||
}
|
||||
|
||||
extern void abort ();
|
||||
int main()
|
||||
{
|
||||
if (do_layer3(-1) != 2)
|
||||
abort ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void f(int i) {}
|
Loading…
x
Reference in New Issue
Block a user