Home | History | Annotate | Download | only in linker-flags
      1 // Copyright (c) 2012 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.
      4 
      5 // Include entry point function that's excluded by removing C runtime libraries.
      6 extern "C" void mainCRTStartup() {
      7 }
      8 
      9 // Still needed because the linker checks for existence of one of main, wmain,
     10 // WinMain, or wMain to offer informative diagnositics.
     11 int main() {
     12   return 0;
     13 }
     14