Intel MOVRS tests: Also scan (%e.x)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr82167.c
blobaf3b3a5a1c957f5c05faa241d67c0e208e819ba4
1 /* PR c/82167 */
2 /* { dg-do compile } */
4 void
5 fn1 (int a[])
7 __builtin_printf ("%zu\n", sizeof (*&a)); /* { dg-warning ".sizeof. on array function parameter .a. will return size of .int \\*." } */
10 void
11 fn2 (int *a[])
13 __builtin_printf ("%zu\n", sizeof (*&a)); /* { dg-warning ".sizeof. on array function parameter .a. will return size of .int \\*\\*." } */