permissive-1.C
548 Bytes
-
re PR c++/68979 (error: left operand of shift expression ‘(-1 << 4)’ is negative) · 5342156c
PR c++/68979 * constexpr.c (cxx_eval_check_shift_p): Use permerror rather than error_at and adjust the return value. * g++.dg/warn/permissive-1.C: New test. From-SVN: r232280
Marek Polacek committed