summaryrefslogtreecommitdiff
path: root/gyp/test/win/linker-flags/safeseh_hello.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/test/win/linker-flags/safeseh_hello.cc')
-rw-r--r--gyp/test/win/linker-flags/safeseh_hello.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/gyp/test/win/linker-flags/safeseh_hello.cc b/gyp/test/win/linker-flags/safeseh_hello.cc
new file mode 100644
index 0000000..6141300
--- /dev/null
+++ b/gyp/test/win/linker-flags/safeseh_hello.cc
@@ -0,0 +1,11 @@
+// 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.
+
+extern "C" {
+int zero(void);
+}
+
+int main() {
+ return zero();
+}