blob: e7af4f538ced6785105d951320d86933622147a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do run } */
extern void abort (void);
void __attribute__((noinline,noclone))
foo (int ** __restrict__ p, int ** __restrict__ q)
{
**p = **q;
}
int main()
{
int x = 0, y = 1, *i = &x, *j = &y;
foo (&i, &j);
if (x != 1)
abort ();
return 0;
}
|