Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: base/safe_numerics_unittest.nc

Issue 131063002: Expand support in safe_numeric.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed macros and split out implementation header Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« base/safe_numerics_unittest.cc ('K') | « base/safe_numerics_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/safe_numerics_unittest.nc
===================================================================
--- base/safe_numerics_unittest.nc (revision 244596)
+++ base/safe_numerics_unittest.nc (working copy)
@@ -20,10 +20,4 @@
IsValidNumericCast<double>(0.0f);
}
-#elif defined(NCTEST_NO_FLOATING_POINT_3) // [r"size of array is negative"]
-
-void WontCompile() {
- IsValidNumericCast<int>(DBL_MAX);
-}
-
#endif
« base/safe_numerics_unittest.cc ('K') | « base/safe_numerics_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698