summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/compiler-flags/warning-as-error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/compiler-flags/warning-as-error.cc')
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-as-error.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/gyp/test/win/compiler-flags/warning-as-error.cc b/deps/gyp/test/win/compiler-flags/warning-as-error.cc
new file mode 100644
index 0000000000..fd2130aca5
--- /dev/null
+++ b/deps/gyp/test/win/compiler-flags/warning-as-error.cc
@@ -0,0 +1,9 @@
+// Copyright (c) 2012 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.
+
+int main() {
+ // Cause a warning, even at /W1
+ int export;
+ return 0;
+}