summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/compiler-flags/warning-level2.cc
blob: 9a2670318069fb6a22a9211c9c77ef28ba28307d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.

int f(int x) {
  return 0;
}

int main() {
  double x = 10.1;
  // Cause a level 2 warning (C4243).
  return f(x);
  return 0;
}