summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/linker-flags/opt-icf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/linker-flags/opt-icf.cc')
-rw-r--r--deps/gyp/test/win/linker-flags/opt-icf.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/deps/gyp/test/win/linker-flags/opt-icf.cc b/deps/gyp/test/win/linker-flags/opt-icf.cc
deleted file mode 100644
index 1f12156b7f..0000000000
--- a/deps/gyp/test/win/linker-flags/opt-icf.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// 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.
-
-void similar_function0(char* x) {
- while (*x) {
- ++x;
- }
-}
-
-void similar_function1(char* p) {
- while (*p) {
- ++p;
- }
-}
-
-void similar_function2(char* q) {
- while (*q) {
- ++q;
- }
-}
-
-int main() {
- char* x = "hello";
- similar_function0(x);
- similar_function1(x);
- similar_function2(x);
- return 0;
-}