Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wdiv-by-zero.C
blob: 7dc77667c225ee5181c15a3cbd51efa2f1474a22 [
file
] [
log
] [
blame
]
// test that division by zero warnings are enabled by default
int
breakme
()
{
int
x
=
0
;
x
/=
0
;
// { dg-warning "division by" }
return
x
;
}