1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 typedef int trungl_int
;
7 void f(int a
[10], Arr arr
) { // expected-note 4 {{declared here}}
11 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int[10]'}}
12 (void)sizeof((((a
)))); // \
13 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int[10]'}}
15 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int[10]'}}
16 (void)sizeof arr
; // \
17 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'Arr' (aka 'int[10]')}}