blob: e1c2769c08d481dc481b6362d8938d9b4c93efa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
int a[2] = { 2, 0 };
void foo(int *sp, int cnt)
{
int *p, *top;
top = sp; sp -= cnt;
for(p = sp; p <= top; p++)
if (*p < 2) exit(0);
}
int main()
{
foo(a + 1, 1);
abort();
}
|