Index: test/win/linker-flags/entrypointsymbol.cc |
=================================================================== |
--- test/win/linker-flags/entrypointsymbol.cc (revision 0) |
+++ test/win/linker-flags/entrypointsymbol.cc (revision 0) |
@@ -0,0 +1,13 @@ |
+// 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. |
+ |
+// The entry point specified by link.exe /ENTRY option. |
+extern "C" void MainEntryPoint() { |
+} |
+ |
+// Still needed because the linker checks for existence of one of main, wmain, |
+// WinMain, or wMain to offer informative diagnositics. |
+int main() { |
+ return 0; |
+} |
Property changes on: test\win\linker-flags\entrypointsymbol.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |