summaryrefslogtreecommitdiff
path: root/test/Layout
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2013-11-14 22:34:59 +0000
committerWarren Hunt <whunt@google.com>2013-11-14 22:34:59 +0000
commit2d2f6c28e5080c7e4a6689618ae7b4048cfbc620 (patch)
tree32fce65ff55ffc5f9d3f986ee4af647ded865b3e /test/Layout
parente05372a773e3c8c9a606af9ee6bc9ee4fc103804 (diff)
downloadclang-2d2f6c28e5080c7e4a6689618ae7b4048cfbc620.tar.gz
Makes A Microsoft Layout CodeGen Test Explicit
This patch tests introduces a proper codegen test in place of the "codegen no longer crashes" test introduced in r193664. The test is also moved from layout to CodeGenCXX. Differential Revision: http://llvm-reviews.chandlerc.com/D2174 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Layout')
-rw-r--r--test/Layout/ms-x86-size-alignment-fail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Layout/ms-x86-size-alignment-fail.cpp b/test/Layout/ms-x86-size-alignment-fail.cpp
index 5ff440fb9b..f998ee12c8 100644
--- a/test/Layout/ms-x86-size-alignment-fail.cpp
+++ b/test/Layout/ms-x86-size-alignment-fail.cpp
@@ -8,7 +8,7 @@ extern "C" int printf(const char *fmt, ...);
struct B0 { char a; B0() : a(0xB0) {} };
struct __declspec(align(1)) B1 {};
-struct A : virtual B0 {} b;
+struct A : virtual B0 {};
// CHECK: *** Dumping AST Record Layout
// CHECK: 0 | struct A