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 int f(int x) { 6 return 0; 7 } 8 9 int main() { 10 double x = 10.1; 11 // Cause a level 2 warning (C4243). 12 return f(x); 13 return 0; 14 } 15