blob: 1f12156b7fc37ced85c1f59cf48f8ab92c242e6a [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001// 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
5void similar_function0(char* x) {
6 while (*x) {
7 ++x;
8 }
9}
10
11void similar_function1(char* p) {
12 while (*p) {
13 ++p;
14 }
15}
16
17void similar_function2(char* q) {
18 while (*q) {
19 ++q;
20 }
21}
22
23int main() {
24 char* x = "hello";
25 similar_function0(x);
26 similar_function1(x);
27 similar_function2(x);
28 return 0;
29}