blob: 631658540b382c0a884bb969febdf793a607c398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
extern void abort(void);
void foo(int *p)
{
int x;
int y;
x = *p;
*p = 0;
y = *p;
if (x != y)
return;
abort ();
}
int main()
{
int a = 1;
foo(&a);
return 0;
}
|