Debian Codegraph @

gcc/testsuite/g++.dg/pr84943.C

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