mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-28 00:14:59 +08:00
* gcc.c-torture/execute/20000120-2.c: New test.
From-SVN: r31545
This commit is contained in:
parent
33f6849b91
commit
7e7cf28ad2
@ -1,5 +1,6 @@
|
||||
Thu Jan 20 12:34:48 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/20000120-2.c: New test.
|
||||
* gcc.c-torture/execute/20000120-1.c: New test.
|
||||
|
||||
Thu Jan 13 02:29:32 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
18
gcc/testsuite/gcc.c-torture/compile/20000120-2.c
Normal file
18
gcc/testsuite/gcc.c-torture/compile/20000120-2.c
Normal file
@ -0,0 +1,18 @@
|
||||
extern __inline__ int
|
||||
odd(int i)
|
||||
{
|
||||
return i & 0x1;
|
||||
}
|
||||
|
||||
int
|
||||
foo(int i, int j)
|
||||
{
|
||||
return odd(i + j);
|
||||
}
|
||||
|
||||
int
|
||||
odd(int i)
|
||||
{
|
||||
return i & 0x1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user