summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/compiler-flags/warning-level4.cc
blob: 48a4fb70181bddf40400a8a906ab9cb3738ffabd (plain)
1
2
3
4
5
6
7
8
9
10
// 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 main() {
  const int i = -1;
  // Cause a level 4 warning (C4245).
  unsigned int j = i;
  return 0;
}