2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
4 /* { dg-additional-options "-std=c++11" { target c++ } } */
18 /* Warn for LSHIFT_EXPR. */
25 r
+= m
<< x
; /* { dg-bogus "left shift of negative value" } */
28 r
+= -1 << x
; /* { dg-bogus "left shift of negative value" } */
36 /* Shouldn't warn for RSHIFT_EXPR. */