2 /* { dg-do compile } */
3 /* { dg-options "-Wall -O2" } */
10 r
+= x
/ y
; /* { dg-warning "division by zero" } */
11 r
+= x
/ 0; /* { dg-warning "division by zero" } */
12 r
+= x
% y
; /* { dg-warning "division by zero" } */
13 r
+= x
% 0; /* { dg-warning "division by zero" } */