1 /* { dg-do compile } */ 2 3 void foo(int n)4 foo (int n) 5 { 6 static char *__restrict *p; 7 int i; 8 p = __builtin_malloc (n); 9 for (i = 0; i < n; i++) 10 p[i] = 0; 11 } 12 13