Debian Codegraph @

gcc/testsuite/g++.dg/other/array2.C

raw
1 // PR c++/25263
2 // { dg-do compile }
3
4 int x[1/0]; // { dg-warning "division by zero" }
5 // { dg-error "constant" "constant" { target *-*-* } .-1 }
6