Index: test/win/linker-flags/main-crt.c |
diff --git a/test/prune_targets/lib1.cc b/test/win/linker-flags/main-crt.c |
similarity index 62% |
copy from test/prune_targets/lib1.cc |
copy to test/win/linker-flags/main-crt.c |
index 692b7de6d82c927503c21607863f671307fa6cd1..bdc80c54fd9532a5ca722e923380f1acf9d942d7 100644 |
--- a/test/prune_targets/lib1.cc |
+++ b/test/win/linker-flags/main-crt.c |
@@ -2,5 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-void libfunc1() { |
+// Stub so we can link with /NODEFAULTLIB when checking disasm. |
+int mainCRTStartup() { |
+ return 5; |
} |