diff options
Diffstat (limited to 'deps/gyp/test/win/compiler-flags/uninit.cc')
-rw-r--r-- | deps/gyp/test/win/compiler-flags/uninit.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/deps/gyp/test/win/compiler-flags/uninit.cc b/deps/gyp/test/win/compiler-flags/uninit.cc deleted file mode 100644 index a9d5f5d483..0000000000 --- a/deps/gyp/test/win/compiler-flags/uninit.cc +++ /dev/null @@ -1,13 +0,0 @@ -// 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. - -// Should trigger C6001: using uninitialized memory <variable> for |i|. -int f(bool b) { - int i; - if (b) - i = 0; - return i; -} - -int main() {} |