1 2 3 4 5 6 7 8
// { dg-do compile } // Avoid -pedantic-error default // { dg-options "" } void a() { a[0](); // { dg-warning "arithmetic" } }