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 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} 30