1 // RUN: %clang_cc1 -std=c++14 -fsyntax-only %s 2 3 #include <limits.h> 4 inc()5constexpr unsigned inc() { 6 unsigned i = INT_MAX; 7 ++i; // should not warn value is outside range 8 return i; 9 } 10 dec()11constexpr unsigned dec() { 12 unsigned i = INT_MIN; 13 --i; // should not warn value is outside range 14 return i; 15 } 16