summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc')
-rw-r--r--deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc b/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc
new file mode 100644
index 0000000000..1ffde36e0c
--- /dev/null
+++ b/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2014 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifdef _M_FP_PRECISE
+#error
+#endif
+
+#ifndef _M_FP_STRICT
+#error
+#endif
+
+#ifdef _M_FP_FAST
+#error
+#endif
+
+int main() {
+ return 0;
+}