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

Unified Diff: test/win/compiler-flags/floating-point-model-precise.cc

Issue 720153005: ninja win: Add msvs emulation for FloatingPointModel (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Better test, set /fp:precise by default Created 6 years, 1 month 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
Index: test/win/compiler-flags/floating-point-model-precise.cc
diff --git a/test/win/idl-excluded/program.cc b/test/win/compiler-flags/floating-point-model-precise.cc
similarity index 64%
copy from test/win/idl-excluded/program.cc
copy to test/win/compiler-flags/floating-point-model-precise.cc
index 9dc3c94f3431be00adb755f6515b995d734e089b..1191a74ed1a633f3cf869270a6af580e583cb661 100644
--- a/test/win/idl-excluded/program.cc
+++ b/test/win/compiler-flags/floating-point-model-precise.cc
@@ -2,6 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef _M_FP_PRECISE
+#error
+#endif
+
+#ifdef _M_FP_STRICT
+#error
+#endif
+
+#ifdef _M_FP_FAST
+#error
+#endif
+
int main() {
return 0;
}
« no previous file with comments | « test/win/compiler-flags/floating-point-model-fast.cc ('k') | test/win/compiler-flags/floating-point-model-strict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698