blob: 58de1d48b6a51701eb251cdbe2385a3bc49fe7ed (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* PR c/86308 - ICE in verify_gimple calling an invalid index() declaration
{ dg-do compile }
{ dg-options "-Wall" } */
int index (int, int); /* { dg-warning "conflicting types for built-in function .index.; expected .char \\\*\\\(const char \\\*, int\\\)." } */
int foo (const short *a)
{
return a[index (0, 0)];
}
|