☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
array2.C
☽
☼
gcc/testsuite/g++.dg/other/array2.C
code
plain
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