trans: report as many errors as possible for constants.

This commit is contained in:
Eduard Burtescu 2016-06-05 14:38:29 +03:00
parent d735f6bf33
commit e71f6d8ac9
4 changed files with 107 additions and 41 deletions

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -Zforce-overflow-checks=on
// these errors are not actually "const_err", they occur in trans/consts
// and are unconditional warnings that can't be denied or allowed