1 /* PR c/58346 */
2 /* { dg-do compile } */
3 
4 __PTRDIFF_TYPE__
foo(int p[3][0],int q[3][0])5 foo (int p[3][0], int q[3][0])
6 {
7   return p - q; /* { dg-error "arithmetic on pointer to an empty aggregate" } */
8 }
9