1 // Copyright (c) 2015 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
f()4 int f() { return 42; }
5 
6 #ifdef _MSC_VER
7 // link.exe gets confused by sourceless shared libraries and needs this
8 // to become unconfused.
_DllMainCRTStartup(unsigned hInst,unsigned reason,void * reserved)9 int __stdcall _DllMainCRTStartup(
10     unsigned hInst, unsigned reason, void* reserved) {
11   return 1;
12 }
13 #endif
14