1 2 3 4 5 6 7
// test that division by zero warnings are enabled by default int breakme() { int x = 0; x /= 0; // { dg-warning "division by" } return x; }