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