summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/compiler-flags/warning-level3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/win/compiler-flags/warning-level3.cc')
-rw-r--r--third_party/python/gyp/test/win/compiler-flags/warning-level3.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/win/compiler-flags/warning-level3.cc b/third_party/python/gyp/test/win/compiler-flags/warning-level3.cc
new file mode 100644
index 0000000000..e0a9f3cdd9
--- /dev/null
+++ b/third_party/python/gyp/test/win/compiler-flags/warning-level3.cc
@@ -0,0 +1,11 @@
+// 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.
+
+// Cause a level 3 warning (C4359).
+struct __declspec(align(8)) C8 { __int64 i; };
+struct __declspec(align(4)) C4 { C8 m8; };
+
+int main() {
+ return 0;
+}