Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr29254.c
blob598b6bf7b115aebc7f7f23c20162cb8938ed729c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -Werror" } */
4 list_compare (int * list1)
6 if (list1)
7 value_compare ();
10 func1 (int * f){}
12 value_compare (int * a)
14 if (a)
15 list_compare (a);
18 func2 (const int * fb)
20 func1 ((int *) fb); /* { dg-bogus "discards qualifiers" } */