mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 11:41:07 +08:00
Duh, broken perms.
From-SVN: r41445
This commit is contained in:
parent
43e720723f
commit
c0230f3744
36
gcc/testsuite/gcc.c-torture/execute/20010403-1.c
Normal file
36
gcc/testsuite/gcc.c-torture/execute/20010403-1.c
Normal file
@ -0,0 +1,36 @@
|
||||
void b (int *);
|
||||
void c (int, int);
|
||||
void d (int);
|
||||
|
||||
int e;
|
||||
|
||||
void a (int x, int y)
|
||||
{
|
||||
int f = x ? e : 0;
|
||||
int z = y;
|
||||
|
||||
b (&y);
|
||||
c (z, y);
|
||||
d (f);
|
||||
}
|
||||
|
||||
void b (int *y)
|
||||
{
|
||||
(*y)++;
|
||||
}
|
||||
|
||||
void c (int x, int y)
|
||||
{
|
||||
if (x == y)
|
||||
abort ();
|
||||
}
|
||||
|
||||
void d (int x)
|
||||
{
|
||||
}
|
||||
|
||||
int main (void)
|
||||
{
|
||||
a (0, 0);
|
||||
exit (0);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user