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

From-SVN: r62314
This commit is contained in:
Jan Hubicka 2003-02-03 16:07:50 +01:00 committed by Jan Hubicka
parent 5fb486851a
commit 7393205f69
2 changed files with 27 additions and 0 deletions

View File

@ -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

View 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) {}