PR tree-optimization/86401
[official-gcc.git] / gcc / testsuite / c-c++-common / pr35503-3.c
blob8cbacabba62466e63d47bac4b7d45f1c23c586c1
1 /* { dg-do compile } */
2 /* { dg-options "-Wrestrict" } */
4 void f(int *x, int *__restrict y);
6 void foo(int a)
8 f (&a, &a); /* { dg-warning "passing argument 2 to restrict-qualified parameter aliases with argument 1" } */