111
|
1 /* Like parm-impl-decl-1.c, but with -g. PR 43381. */
|
|
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
|
|
3 /* { dg-do compile } */
|
|
4 /* { dg-options "-g -std=gnu89" } */
|
|
5
|
|
6 int
|
|
7 foo (int __attribute__ ((__mode__ (vector_size(8)))) i) /* { dg-warning "'mode' attribute ignored" } */
|
|
8 {
|
|
9 return (long long) i;
|
|
10 }
|
|
11
|
|
12 int f (int [sizeof(g())]);
|
|
13 int f1 (int [sizeof(g1())]);
|
|
14
|
|
15 int g () { return 1; }
|
|
16
|
|
17 int
|
|
18 h (int (*p)[sizeof(i())])
|
|
19 {
|
|
20 int g2 (), g3 ();
|
|
21 return (*p)[0] + g3() + g2();
|
|
22 }
|
|
23
|
|
24 int i () { return 2; }
|
|
25
|
|
26 int f2 (int [sizeof(g2())]);
|
|
27 int f3 (int [sizeof(g3())]);
|
|
28 int g3 () { return 4; }
|