| // RUN: %clang_cc1 -fsyntax-only -verify %s |
| void f(int a[10], Arr arr) { // \ |
| // expected-note {{declared here}} \ |
| // expected-note {{declared here}} \ |
| // expected-note {{declared here}} \ |
| // expected-note {{declared here}} |
| // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} |
| (void)sizeof((((a)))); // \ |
| // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} |
| // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} |
| // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'Arr' (aka 'int [10]')}} |