1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fre1" } */
3 
4 int
f(int * __restrict__ * __restrict__ * __restrict__ a,int * b)5 f (int *__restrict__ *__restrict__ *__restrict__ a, int *b)
6 {
7   *b = 1;
8   ***a  = 2;
9   return *b;
10 }
11 
12 /* { dg-final { scan-tree-dump-times "return 1" 1 "fre1" } } */
13